Skip to content
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

(uglify plugin) Error: sourcemap is not a supported option #64

Open
marnor opened this issue Aug 30, 2019 · 1 comment
Open

(uglify plugin) Error: sourcemap is not a supported option #64

marnor opened this issue Aug 30, 2019 · 1 comment

Comments

@marnor
Copy link

marnor commented Aug 30, 2019

Hi!

When running rollup using the rollup-plugin-uglify I get an error:

(uglify plugin) Error: sourcemap is not a supported option

It seems to have to do with an update to the serialize-javascript plugin where they no longer remove keys that has an undefined value. Hence the sourcemap (all lowercase) option is passed to uglify that throws an error since that is an invalid option (should be camelcased).

This error also happens for the numWorkers option.

@seanlandsman
Copy link

Nice find

Pinning

"serialize-javascript": "1.8.0",

helps my build to continue until this issue is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants