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

build(rollup): upgrade rollup from 1.x to 2.x #1645

Merged
merged 1 commit into from
Aug 18, 2020

Conversation

AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Aug 16, 2020

Upgrade rollup and susequent dependencies from 1.x to 2.x

Previously discussed in #1629 (comment). To summarize:

The upgrade from Rollup 1.x to 2.x isn't super involved and is handled in this PR

A gist of the bundle diff is available for the team/community review. None of the semver or acorn variables are actually used in the current bundle, and the other changes can be explained by https://github.com/rollup/plugins/blame/master/packages/commonjs/src/helpers.js#L38 and https://github.com/rollup/plugins/blob/master/packages/commonjs/src/helpers.js#L58 / rollup/plugins#206.

Even though a regression is unlikely, we should test the build and check for regressions, and I would recommend a minor release just in the rare case we would need to patch.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

@AtofStryker AtofStryker marked this pull request as ready for review August 16, 2020 18:00
@lmiller1990
Copy link
Member

Oops, conflicts. I guess we will review/merge these one by one to avoid this problem.

thank you!

@AtofStryker
Copy link
Contributor Author

@lmiller1990 glad to help! I have a feeling the yarn.lock is going to cause conflicts on each merge into dev. I can just rebase them as we merge/review! This should be ready to go now.

upgrade rollup and susequent dependencies from 1.x to 2.x
@AtofStryker
Copy link
Contributor Author

@lmiller1990 another rebase 😆

@lmiller1990
Copy link
Member

Seems legit

@lmiller1990 lmiller1990 merged commit 8af56d2 into vuejs:dev Aug 18, 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.

2 participants