Skip to content

Commit 88204da

Browse files
authored
housekeeping: upgrade to webpack@4 (via #5454)
* build new core webpack config * fix exports in Webpack; use ESM syntax throughout * add bundle config * add standalone config * add style config * prettier... * add dev config * delete legacy webpack scripts * rewire npm scripts to use new webpack configs * cache babel-loader results * fix e2e dev servers * update core Webpack modules * update loaders to latest * remove unused loaders * update Webpack plugins * add mode flags to Webpack configs * remove plugin invocations that are now production-standard in v4 * update webpack-cli * add webpack perf size limit flags * replace ExtractText with MiniCssExtract + IgnoreAssets * UglifyJsPlugin -> TerserPlugin * fix PostCSS processing * enable Terser sourcemaps * webpack/style -> webpack/stylesheets
1 parent 9935ea3 commit 88204da

23 files changed

+7873
-8217
lines changed

.babelrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"@babel/preset-react"
2020
],
2121
"plugins": [
22-
"@babel/plugin-transform-modules-commonjs",
2322
["@babel/plugin-transform-runtime", {
2423
"corejs": "2"
2524
}],
@@ -30,7 +29,6 @@
3029
[
3130
"babel-plugin-module-resolver",
3231
{
33-
"root": ".",
3432
"alias": {
3533
"root": ".",
3634
"components": "./src/core/components",

make-webpack-config.js

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)