Skip to content

Commit

Permalink
Merge pull request #107 from canjs/class-fields-babel-plugin
Browse files Browse the repository at this point in the history
use the right plugin for class fields transformation
  • Loading branch information
cherifGsoul authored Jun 12, 2020
2 parents 286f5e0 + 88a1306 commit 6ca678b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins": ["@babel/plugin-syntax-class-properties"],
"plugins": ["@babel/plugin-proposal-class-properties"],
"presets": [
[
"@babel/preset-env",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-syntax-class-properties": "^7.10.1",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/preset-env": "^7.4.5",
"@webcomponents/custom-elements": "^1.2.4",
"can-observable-bindings": "^1.1.0",
Expand Down

0 comments on commit 6ca678b

Please sign in to comment.