Commit Graph

14 Commits

Author SHA1 Message Date
Andreas Cederström
d72678fb0c - [x] Upgrade to webpack 4.8.X (#4077)
- [x] Utilize webpack 4 development and production modes
- [x] Upgrade webpack dev server
- [x] Webpack 4 compatible release of thread-loader
- [x] Webpack 4 compatible release of HtmlWebpackPlugin
- [x] Webpack 4 compatible release of SwPrecacheWebpackPlugin
- [x] Webpack 4 compatible release of WebpackManifestPlugin
- [x] Update README
- [x] Update WebpackDevServerUtils
- [x] Update InterpolateHtmlPlugin
- [x] Update ModuleScopePlugin
- [x] Update WatchMissingNodeModulesPlugin
- [x] Move UglifyJS options to webpack 4 optimize
- [x] Move InterpolateHtmlPlugin to make it tapable on HtmlWebpackPlugin
- [x] vendor splitting via splitChunks.splitChunks (https://twitter.com/wSokra/status/969633336732905474)
- [x] long term caching via splitChunks.runtimeChunk (https://twitter.com/wSokra/status/969679223278505985)
- [x] Make sure process.env.NODE_ENV is proxied correctly to `react-error-overlay`
- [x] Implicit webpack.NamedModulesPlugin in dev config as its default in webpack 4
- [x] Disable webpack performance hints as we have our own filesize reporter
- [x] Replace ExtractTextPlugin with MiniCssExtractPlugin
- [x] Switch to css whole file minification via OptimizeCSSAssetsPlugin rather than per module css minification to gain performance
2018-05-20 18:22:24 +01:00
Joe Haddad
2e59c5412c Offer to set default browsers (#3792)
* Offer to set browser defaults

* Catch error on no

* Add ending newlines

* Ensure we re-check to prevent defaults from leaking

* Reduce nesting

* Add defaults message

* More explicit
2018-01-15 00:09:07 -05:00
Siddharth Doshi
0ec41350db Use proxy for all request methods other than GET (#3726)
* Use proxy for all request methods other than GET

* Add comment
2018-01-10 12:00:03 +00:00
Sophie Alpert
2e82ebb337 BSD+Patents -> MIT (#3189)
* File headers BSD+Patents -> MIT

* BSD+Patents -> MIT
2017-09-26 10:30:05 +01:00
Stéphane Goetz
badfc2a8d9 Make formatWebpackMessages return all messages (#2834)
* Move the reduction of the messages to a single place in the place it is used.

* Fix variable name
2017-08-08 21:37:04 -04:00
Dan Abramov
a171d93064 Reformat source code with Prettier 1.5.2 2017-06-28 16:23:16 +01:00
Levin Rickert
b1c0faaffe Show warning when trying to run on port below 1024 without admin permissions under Linux (#2518) 2017-06-19 18:00:11 +02:00
Joe Haddad
dc4ce606ef Unscope detect-port (#2483)
Resolves #2481
2017-06-06 14:02:27 -04:00
Dan Abramov
70bf12505c Suggest just "yarn build" (#2385) 2017-05-27 21:26:53 +01:00
Joe Haddad
a29808a2c8 Don't resolve localhost if on network (#2332)
* Don't resolve if on network

* Update WebpackDevServerUtils.js
2017-05-24 11:00:24 +01:00
Dan Abramov
25f81f2bea Files in public/ folder should not be requested through proxy (#2326) 2017-05-22 17:04:17 +01:00
Joe Haddad
2430b5615f Ensure address is private (#2297)
* Ensure address is private
Resolves #2296

* adjust rule

* Update WebpackDevServerUtils.js
2017-05-21 20:44:28 +01:00
Dan Abramov
43b819c2bb "rule keywords" => "keywords" 2017-05-18 22:46:30 +01:00
Dan Abramov
8dc9217b61 Move more logic from react-scripts to react-dev-utils (#2209)
* Show warnings for builds

* Move WebpackDevServer helpers into react-dev-utils
2017-05-18 12:26:18 +01:00