Skip to content

Commit

Permalink
fix: remove unneeded babel plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-in-boots committed Nov 18, 2023
1 parent 2e0d738 commit 146c83f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 16 deletions.
5 changes: 1 addition & 4 deletions example/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ module.exports = function (api) {
],
'@babel/preset-react',
],
plugins: [
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-syntax-dynamic-import',
],
plugins: [],
};
};
2 changes: 1 addition & 1 deletion packages/context/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ module.exports = function (api) {
],
'@babel/preset-react',
],
plugins: ['@babel/plugin-proposal-object-rest-spread'],
plugins: [],
};
};
5 changes: 1 addition & 4 deletions packages/core/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ module.exports = function (api) {
],
'@babel/preset-react',
],
plugins: [
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
plugins: [],
};
};
2 changes: 1 addition & 1 deletion packages/decorator-barebones/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ module.exports = function (api) {
],
'@babel/preset-react',
],
plugins: ['@babel/plugin-proposal-object-rest-spread'],
plugins: [],
};
};
5 changes: 1 addition & 4 deletions packages/decorator-mui/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ module.exports = function (api) {
],
'@babel/preset-react',
],
plugins: [
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
plugins: [],
};
};
2 changes: 1 addition & 1 deletion packages/decorator-pdf/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ module.exports = function (api) {
],
'@babel/preset-react',
],
plugins: ['@babel/plugin-proposal-object-rest-spread'],
plugins: [],
};
};
2 changes: 1 addition & 1 deletion packages/hooks/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ module.exports = function (api) {
],
'@babel/preset-react',
],
plugins: ['@babel/plugin-proposal-object-rest-spread'],
plugins: [],
};
};

0 comments on commit 146c83f

Please sign in to comment.