Skip to content

Commit

Permalink
chore(cfg): remove Babel plugins for ES2020+ proposals
Browse files Browse the repository at this point in the history
Signed-off-by: hainenber <dotronghai96@gmail.com>
  • Loading branch information
hainenber committed Oct 8, 2024
1 parent 42d6add commit 1f2d72f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 109 deletions.
5 changes: 0 additions & 5 deletions superset-frontend/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ module.exports = {
],
plugins: [
'lodash',
'@babel/plugin-syntax-dynamic-import',
['@babel/plugin-proposal-class-properties', { loose: true }],
['@babel/plugin-proposal-optional-chaining', { loose: true }],
['@babel/plugin-proposal-private-methods', { loose: true }],
['@babel/plugin-proposal-nullish-coalescing-operator', { loose: true }],
['@babel/plugin-transform-runtime', { corejs: 3 }],
// only used in packages/superset-ui-core/src/chart/components/reactify.tsx
['babel-plugin-typescript-to-proptypes', { loose: true }],
Expand Down
99 changes: 0 additions & 99 deletions superset-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions superset-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,6 @@
"@babel/compat-data": "^7.22.6",
"@babel/core": "^7.25.7",
"@babel/eslint-parser": "^7.25.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.22.7",
"@babel/preset-env": "^7.25.7",
"@babel/preset-react": "^7.22.5",
Expand Down

0 comments on commit 1f2d72f

Please sign in to comment.