optimize-plugin
optimize-plugin copied to clipboard
Optimized Webpack Bundling for Everyone. Intro ⤵️
* [email protected] * [email protected] * node: v15.2.0 ```bash Build completed in 78.241s Build completed in 0s TypeError: /Users/weiran/repo/dian/honor/assets/~containers~a~count~cash-114e7fb5.js: Cannot read property 'arguments' of undefined at NodePath._getKey (/Users/weiran/repo/dian/honor/node_modules/optimize-plugin/node_modules/@babel/traverse/lib/path/family.js:194:25) at NodePath.get (/Users/weiran/repo/dian/honor/node_modules/optimize-plugin/node_modules/@babel/traverse/lib/path/family.js:186:17)...
In the ReadMe, there's the following line: > In order to migrate to optimize-plugin, you'll need to move your babel configuration into a `.babelrc` or `babel.config.js` file ...optimize-plugin only uses...
Hi there 👋 I ran into this issue when adding optimize-plugin to my nextjs project. ```sh $ next build > [PWA] PWA support is disabled > [PWA] PWA support is...
Multi entry webpack 4 (latest) configuration on Node 14. It does this for every chunk ``` errored out during transformation Error: /Users/claudio/Projects/loom/js/404-3594367e1117c0d15bb5.js: Not a webpack bundle at mod (/Users/claudio/Projects/loom/node_modules/optimize-plugin/dist/worker.js:203:15) at...
Well this was a fun one to find... Notably, it'll incorrectly convert `core-js/modules/es.json.to-string-tag.js` into `core-js/modules/eson.to-string-tag.js`. Funky name, to be fair. ``` console.warn 'core-js/modules/eson.to-string-tag.js' is imported by entry, but could not...
Super minor, but `minify` actually defaults to `true`: https://github.com/developit/optimize-plugin/blob/7e43e02621742c4fb6bb8272d6bd56e62ba588a4/src/index.js#L45-L49