Minification plugin causes error after webpack 5.10.1
See original GitHub issueThings worked well in webpack v5.10.0, but started to fail after v5.10.1.
It still fails in the latest webpack v5.11.1
Console error
Uncaught TypeError: (intermediate value)(intermediate value)(...) is not a function
at runtime~app.38fb8d44.js:1
at runtime~app.38fb8d44.js:3
Corresponding snippet
Let me know if the context is not enough, I’m willing to provide more information.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
error with sourcemaps · Issue #68 · webpack-contrib/babel ...
I reproduce this issue when I use source maps with this plugin. ... const MinifyPlugin = require("babel-minify-webpack-plugin"); ...
Read more >How to minify webpack bundle - Stack Overflow
hello I am learning webpack and I am trying to build a React App from scratch. Unfortunately, I am getting this error.
Read more >Resolving "Failed to minify the bundle" Errors - CircleCI Support
TerserWebpackPlugin. The following error message is usually related to running out of memory during a job: Failed to minify the bundle.
Read more >CssMinimizerWebpackPlugin | webpack
This plugin uses cssnano to optimize and minify your CSS. ... Use source maps to map error message locations to modules (this slows...
Read more >terser - npm
JavaScript parser, mangler/compressor and beautifier toolkit for ES6+. Latest version: 5.16.1, last published: 24 days ago.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, it’s a runtime error.
My webpack config is a little complicated, so I didn’t have time to make a minimal repro.
I’ll try to make one later
@jamespantalones
Would you be able to provide minimal reproduction?
I’m interested in looking deeper into this but I can’t do anything with the screenshots.