Skip to content

Merge webpack configuration - #5722

Merged
Timer merged 15 commits into
react:masterfrom
Timer:merge-webpack-config
Nov 8, 2018
Merged

Merge webpack configuration#5722
Timer merged 15 commits into
react:masterfrom
Timer:merge-webpack-config

Conversation

@Timer

@TimerTimer commented Nov 6, 2018

Copy link
Copy Markdown
Contributor

This should make the configuration easier to update (reduces duplication).

Follows webpack 4 convention of configuration as a function, accepting env as first argument. Will work with CLI invokes.

Let's see if this passes tests ...

@JustFly1984

Copy link
Copy Markdown

I have a question: would CRA eject with new webpack configuration?

@Timer

Timer commented Nov 6, 2018

Copy link
Copy Markdown
ContributorAuthor

Yes, ejecting would give you this new configuration and it'd work.

Do you have a concern?

Comment threadpackages/react-scripts/config/webpack.config.js
Comment threadpackages/react-scripts/config/webpack.config.js
Comment threadpackages/react-scripts/config/webpack.config.js
@Timer

Timer commented Nov 8, 2018

Copy link
Copy Markdown
ContributorAuthor

YOLO, what could go wrong?

@Timer
Timer merged commit 30ee52c into react:masterNov 8, 2018
@Timer
Timer deleted the merge-webpack-config branch November 8, 2018 03:11
@TimerTimer added this to the 2.1.2 milestone Nov 8, 2018
andykenward pushed a commit to Stinkstudios/npm-packages that referenced this pull request Nov 9, 2018
andykenward pushed a commit to Stinkstudios/npm-packages that referenced this pull request Nov 9, 2018
xs9627 pushed a commit to xs9627/create-react-app that referenced this pull request Nov 12, 2018
* facebook-master: (578 commits)
Add PR welcoming badge (react#5759)
Suggest Encore when not building a SPA with Symfony (react#5730)
Merge webpack configuration (react#5722)
Tweak bot settings
Update stale.yml
Fix typo (react#5727)
Version bump postcss-preset-env to latest (react#5721)
Updated the link to firebase hosting (react#5710)
Fixed link to manifest.json file (react#5704)
Fix broken documentation link (react#5670)
Fix tsconfig.json lib suggested value (react#5701)
Add permissive TS lib defaults (react#5694)
Lock issues more aggressively
Make stale bot configuration more aggressive
ignore intellij module files when generating an app (react#4605)
update envinfo to 5.11.1 (react#5685)
Add bot config (react#4483)
Publish
Update cached lock file
Add changelog for 2.1.1
...
andykenward pushed a commit to Stinkstudios/npm-packages that referenced this pull request Nov 13, 2018
andykenward pushed a commit to Stinkstudios/npm-packages that referenced this pull request Nov 13, 2018
kaltepeter added a commit to kaltepeter/cra-build-watch that referenced this pull request Dec 24, 2018
kaltepeter added a commit to kaltepeter/cra-build-watch that referenced this pull request Dec 24, 2018
@locklockBot locked and limited conversation to collaborators Jan 18, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Timer@JustFly1984@ianschmitz@facebook-github-bot