Webpack 3 without raising the area and without backup output with --display-optim-bailout cli flag

upgraded to webpack 3 and using the ModuleConcatenationPlugin module (follow the instructions at https://medium.com/webpack/webpack-3-official-release-15fd2dd8f07b ). I see no difference in the difference between my package with the added vs plugin without and still see all the function closures.

added flag --display-optimization-bailout to show why hoisting was prevented, but I don’t see any output.

I looked a bit at the source of webpack and it turned out that the reasons for the failure were not installed, because module.meta.harmonyModule is false, not sure why ... https://github.com/webpack/webpack/blob/master/lib/optimize /ModuleConcatenationPlugin.js#L42

Does anyone have a problem with similar?

+7
webpack webpack-3
source share

No one has answered this question yet.

See related questions:

26
Solution: download self-compiled Webpack 2 packages dynamically
nine
Optimize Angular 2 application build time with webpack
6
Disable tree shake in Webpack 4
4
How to fix modules using "Module recovery module: module is not an ECMAScript module"?
2
Webpack Parallel Plugin Does Not Find Local or Functionality
one
Webpack CommonsChunkPlugin with Asynchronous Chunks
0
Webpack commonchunks vue-router showing only 1 piece
0
Why doesn't the --inspect node stop at the Chrome DevTools checkpoint? (while the "debugger" is working)
0
Corner CLI 6 WebPack SCSS Custom Loader
0
webpack executes the module in a global scope

All Articles