-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Karma to 6.x Update Webpack to 5.x and update all loaders Finally dropped PhantomJS - Karma tests now use ChromeHeadless by default Internal -Babel config changes - Set the configured browserslist the new top-level option in Babel 7.13, instead of in @babel/preset-env's options - Drop the useESModules option for @babel/plugin-transform-runtime, which was deprecated in Babel 7.13 - Karma config changes - karma-webpack 5.x now requires 'webpack' to be listed in frameworks config - Karma Server now requires a config object to be passed through a parseConfig() call - Shim the global process variable in the test Webpack config, as one of expect's dependencies uses it - Webpack 5 config changes - Set optimization.nodeEnv = false to prevent webpack defining process.env.NODE_ENV via DefinePlugin to prevent a new warning from DefinePlugin about this conflicting with the value nwb sets - Removed optimization.noEmitOnErrors - postcss-loader now expects options in a postCssOptions object and no longer needs an ident option - optimization.splitChunks.cacheGroups.vendors was renamed to defaultVendors - Fix Webpack devtool config in Karma config - Replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin to avoid a deprecation warning - Source is no longer available from the Webpack stats object, calculate gzip file sizes from the output assets instead - Use Source.source() when inlining the runtime chunk into generated HTML and remove the new default defer attribute from its script - Remove removed watchOptions option - Remove removed logLeval option for webpack middleware - use stats: 'none' instead - Stopped forcing process.env.NODE_ENV to 'test' before running a Karma server, as DefinePlugin was creating conflicting values warnings - Fix serve config so it's not using a fixed output filename (causes an error when used in express middleware) - Don't set NODE_ENV to test when running tests (fixes DefinePlugin warning with express middleware test)
- Loading branch information
Showing
27 changed files
with
332 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.