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

Replace deprecated uglify options compress.warnings with warnings #510

merged 2 commits into from Jul 19, 2020


Copy link

@davnicwil davnicwil commented Apr 8, 2020

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
None yet
None yet

Successfully merging this pull request may close these issues.

2 participants