Skip to content

Commit

Permalink
fix: compatibility with @vue/cli@4
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Dec 6, 2022
1 parent bf916a7 commit 41521ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ module.exports = {
presets: [
['@babel/preset-env', {
include: [
// compatibility with create-react-app@4
'@babel/plugin-proposal-nullish-coalescing-operator',
// compatibility with vue-cli-plugin-browser-extension@0.25
'@babel/plugin-proposal-logical-assignment-operators',
// compatibility with @vue/cli@4
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-private-methods',
],
}],
'@babel/preset-typescript',
Expand Down

0 comments on commit 41521ff

Please sign in to comment.