Skip to content

Commit

Permalink
WTF? Fix ES2020 plugins use
Browse files Browse the repository at this point in the history
Don't know why we have to explicitely add them, they should be in babel-preset-env...
  • Loading branch information
Bruno Besson committed Apr 14, 2021
1 parent 7aaa92a commit d91c71d
Show file tree
Hide file tree
Showing 2 changed files with 803 additions and 2,436 deletions.
2 changes: 2 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = {
presets: ['@vue/cli-plugin-babel/preset'],
// don't know why we have to include these ES2020 plugins now, should be in babel-preset-env...
plugins: ['@babel/plugin-proposal-nullish-coalescing-operator', '@babel/plugin-proposal-optional-chaining'],
};
Loading

0 comments on commit d91c71d

Please sign in to comment.