Skip to content

Commit

Permalink
fix(babel): remove preset-env included plugin class-properties
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed May 3, 2021
1 parent 65e62b9 commit 1fb30e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/babel-preset-app/package.json
Expand Up @@ -14,7 +14,6 @@
"@babel/core": "^7.14.0",
"@babel/helper-compilation-targets": "^7.13.16",
"@babel/helper-module-imports": "^7.13.12",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.13.15",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
Expand Down
3 changes: 1 addition & 2 deletions packages/babel-preset-app/src/index.js
Expand Up @@ -150,8 +150,7 @@ module.exports = (api, options = {}) => {
[require('@babel/plugin-proposal-decorators'), {
decoratorsBeforeExport,
legacy: decoratorsLegacy !== false
}],
[require('@babel/plugin-proposal-class-properties'), { loose: true }]
}]
)

// Transform runtime, but only for helpers
Expand Down

0 comments on commit 1fb30e7

Please sign in to comment.