Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge webpack configuration #5722

Merged
merged 15 commits into from
Nov 8, 2018
Merged

Conversation

Timer
Copy link
Contributor

@Timer Timer commented Nov 6, 2018

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

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

@Timer
Copy link
Contributor Author

Timer commented Nov 6, 2018

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

Do you have a concern?

@Timer
Copy link
Contributor Author

Timer commented Nov 8, 2018

YOLO, what could go wrong?

@Timer Timer merged commit 30ee52c into facebook:master Nov 8, 2018
@Timer Timer deleted the merge-webpack-config branch November 8, 2018 03:11
@Timer Timer 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  (facebook#5759)
  Suggest Encore when not building a SPA with Symfony (facebook#5730)
  Merge webpack configuration (facebook#5722)
  Tweak bot settings
  Update stale.yml
  Fix typo (facebook#5727)
  Version bump postcss-preset-env to latest (facebook#5721)
  Updated the link to firebase hosting (facebook#5710)
  Fixed link to manifest.json file (facebook#5704)
  Fix broken documentation link (facebook#5670)
  Fix tsconfig.json lib suggested value (facebook#5701)
  Add permissive TS lib defaults (facebook#5694)
  Lock issues more aggressively
  Make stale bot configuration more aggressive
  ignore intellij module files when generating an app (facebook#4605)
  update envinfo to 5.11.1 (facebook#5685)
  Add bot config (facebook#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
mrmckeb pushed a commit to BeameryHQ/bmr-react-scripts that referenced this pull request Nov 19, 2018
* Rename production configuration

* Upgrade lint staged

* Merge mode, bail, devtool, and entry

* Merge output settings

* Remove old comment

* Merge some trivial differences

* Disable minimize in development mode

* Only minify html and generate SW in production

* Adjust comment

* Toggle development plugins

* Add missing imports

* Scope settings

* Delete development config

* Use new config file

* Remove unnecessary config import
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
@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to 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