Skip to content

Conversation

davnicwil
Copy link
Contributor

Fixes issue 509

Uglify at some point moved the options.compress.warnings option to the top level, at options.warnings.

Because of this, on a fresh npm i you get a (transitive) version of uglify that no longer supports options.compress.warnings at all (I guess it was previously deprecated but working) so it breaks the build -- npm run build does not work.

This PR just moves that option to the correct location, and it works again.

@jerairrest jerairrest merged commit 85bc734 into reactchartjs:master Jul 19, 2020
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

Successfully merging this pull request may close these issues.

npm run build appears to be broken after fresh npm install on master
2 participants