Skip to content

Commit

Permalink
[package.json] remove unnecessary plugin (aces#8194)
Browse files Browse the repository at this point in the history
The plugin @babel/plugin-proposal-object-rest-spread is unnecessary to install/include inside babel.config.js because the plugin is included in @babel/preset-env, in [ES2018]. See https://babeljs.io/docs/en/babel-plugin-proposal-object-rest-spread
  • Loading branch information
maltheism authored Oct 21, 2022
1 parent ba39506 commit a61ee37
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = function(api) {
"@babel/preset-env"
];
const plugins = [
"@babel/plugin-proposal-object-rest-spread",
["@babel/plugin-transform-runtime",
{
"regenerator": true
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.11.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.6.3",
"@types/react": "^16.12.0",
Expand Down

0 comments on commit a61ee37

Please sign in to comment.