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.
--display-optimization-bailout
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
module.meta.harmonyModule
Does anyone have a problem with similar?
No one has answered this question yet.
See related questions: