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

@ -37,11 +37,6 @@ function getSWBabelLoader() {
},
],
],
plugins: [
require.resolve('@babel/plugin-proposal-object-rest-spread'),
require.resolve('@babel/plugin-proposal-optional-chaining'),
require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'),
],
},
};
}