New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source map + minimizer results in silent failure #100
Comments
It works after downgrading terser-webpack-plugin to v1.2.4. Something to do with the terser upgrade? Or is it a caching problem? |
I am running into this as well. It looks like #101 is also. |
Please create minimum reproducible test repo |
Looks like problem in terser |
here is the the error: git clone https://github.com/patrikx3/redis-ui-material
npm install
# now in the src/builder/webpack.config.js file, rename sourceMap: false to sourceMap: true
# and there are you with the error
npm run build |
@p3x-robot thanks, i will look on this in near future |
Problem in latest terser release terser/terser#382 |
That terser issue won't be fixed anytime soon. You should revert it here. |
which version i should revert to ? |
well, there is a new build on terser-js/terser, but i can perfectly uglify with it, i only get this error in the terser-webpack-plugin |
actually now it works, as it is a patch and it auto upgrades it to 4.0.2 and the sourcemaps are ok! |
terser 4.0.0 was bad, 4.0.2 is good, so there is nothing to do, just npm install again and you will be upgraded to terser 4.0.2 automatically |
Closed, update deps |
Expected Behavior
Using source map with minimizer created a minified file with a source map.
Actual Behavior
Using source map with minimizer causes silent failure. Output file not created. No console output.
How Do We Reproduce?
1.js
webpack.config.js
file with contents:webpack --config webpack.config.js
The text was updated successfully, but these errors were encountered: