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
core-js 3 errors fix #7051
core-js 3 errors fix #7051
Conversation
… && ADD this plugin to manager & preview also upgrade webpack to v4.33.0 (not necessary)
This pull request is automatically deployed with Now. Latest deployment for this branch: https://monorepo-git-fix-core-js-shenanigans.storybook.now.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Will release on alpha! "Shenanigans" indeed! 😆
Issue: #6984 #6928
What I did
CHANGE to use corejs-upgrade-webpack-plugin over local implementation
ADD this plugin to manager & preview
optional:
Upgrade webpack to v4.33.0 (not really necessary, other then that I made the webpack plugin require the latest, I could lower that version range)
code for corejs-upgrade-webpack-plugin now lives here:
https://github.com/ndelangen/corejs-upgrade-webpack-plugin
This plugin does nothing if it can find core-js v2 references, if they cannot be found it enforces all code to use core-js 3. If THAT can't be found, it throws an error.