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

core-js 3 errors fix #7051

Merged
merged 1 commit into from Jun 11, 2019
Merged

core-js 3 errors fix #7051

merged 1 commit into from Jun 11, 2019

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Jun 11, 2019

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.

… && ADD this plugin to manager & preview

also upgrade webpack to v4.33.0 (not necessary)
@ndelangen ndelangen added bug configuration babel / webpack patch:yes Bugfix & documentation PR that need to be picked to main branch labels Jun 11, 2019
@ndelangen ndelangen added this to the 5.1.x milestone Jun 11, 2019
@ndelangen ndelangen self-assigned this Jun 11, 2019
@vercel
Copy link

vercel bot commented Jun 11, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://monorepo-git-fix-core-js-shenanigans.storybook.now.sh

Copy link
Contributor

@leoyli leoyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@shilman shilman left a 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! 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug configuration babel / webpack patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants