Skip to content

Commit

Permalink
chore: remove warn
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed May 26, 2021
1 parent 18fec98 commit b7bc4cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ module.exports = (api) => {
],
// "@babel/plugin-external-helpers",
["@babel/plugin-proposal-decorators", { legacy: true }],
["@babel/plugin-proposal-class-properties", { loose: true }],
["@babel/plugin-proposal-class-properties", {
"assumptions": {
"setPublicClassFields": true
}
}],
"transform-vue-jsx"
],
env: {
Expand Down
4 changes: 3 additions & 1 deletion packages/cli/src/node/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ class Config {
[
resolvePackage('@babel/plugin-proposal-class-properties'),
{
"loose": true
"assumptions": {
"setPublicClassFields": true
}
}
]
]
Expand Down

0 comments on commit b7bc4cf

Please sign in to comment.