Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 20, 2019. It is now read-only.

Commit bd0b81f

Browse files
committed
Add transform-class-properties babel plugin
1 parent 4edb543 commit bd0b81f

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

‎.babelrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
],
1515
"plugins": [
1616
"async-to-promises",
17-
"transform-object-rest-spread"
17+
"transform-object-rest-spread",
18+
"transform-class-properties"
1819
],
1920
"env": {
2021
"test": {
@@ -33,7 +34,8 @@
3334
"plugins": [
3435
"async-to-promises",
3536
"transform-es2015-modules-commonjs",
36-
"transform-object-rest-spread"
37+
"transform-object-rest-spread",
38+
"transform-class-properties"
3739
]
3840
}
3941
}

‎package-lock.json

Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"babel-jest": "^22.4.3",
2828
"babel-loader": "^7.1.2",
2929
"babel-plugin-async-to-promises": "^1.0.5",
30+
"babel-plugin-transform-class-properties": "^6.24.1",
3031
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
3132
"babel-plugin-transform-object-rest-spread": "^6.26.0",
3233
"babel-preset-env": "^1.6.1",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /