Skip to content

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

@marnor

Description

@marnor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions