chore(deps): migrate to Babel 8 happy path - #216
Merged
Conversation
Replace @vue/cli-plugin-babel with @babel/preset-env 8, bump @babel/core to 8, and modernize browserslist to defaults (drop IE 10). Rebuild assets so CI yarn build passes under Babel 8. Co-authored-by: Pablo de la Peña <pablo@hellopablo.co.uk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Happy-path Babel 8 migration so Dependabot’s
@babel/core8 bump (and future minors) can land without breakingyarn build.Changes
@vue/cli-plugin-babelwith@babel/preset-env^8@babel/coreto ^8babel.config.jsat@babel/preset-env.browserlistrctodefaults(dropsIE 10)Context
PR #212 failed because Vue CLI’s babel preset asserts Babel 7. Babel only runs over
vue-svg-loaderSVG output here, so this is a small toolchain swap rather than an app rewrite.Supersedes ignore-only PR #215.
Test plan
yarn buildsucceeds locally (webpack compiled with warnings only; no Babel errors)build_and_testgreen on this branch