refactor: remove Babel plugins that are included in preset-env (#6614)

This commit is contained in:
Joshua Chen 2022-02-05 16:55:40 +08:00 committed by GitHub
parent 93c5ad8742
commit 919f1600c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 25 deletions

View file

@ -18,10 +18,4 @@ module.exports = {
'@babel/react',
'@babel/preset-typescript',
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/plugin-proposal-optional-chaining',
],
};