Do you want to request a feature or report a bug?
bug
What is the current behavior?
This issue is related to #5266 and describes a build configuration where the use of the ModuleConcatenationPlugin generates code that no longer executes successfully.
I’ve boiled down a production environment to a (hopefully) manageable repro case.
If the current behavior is a bug, please provide the steps to reproduce.
- extract the attached repro case
- run npm i
- run npm run build
- open index.html in browser
- The browser should now show an exception
Uncaught ReferenceError: tinymce is not define
- Comment out the
new webpack.optimize.ModuleConcatenationPlugin()
inwebpack.util.js
- run npm run build
- refresh index.html in browser
- The browser should now show the tinymce browser
What is the expected behavior?
ModuleConcatenationPlugin not to cause any alterations of the code that make it fail
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
node: 8.1.4
npm: 4.6.1
os: windows 7
This week