From 28679bfba2d4160cd54fe368e5412aa622cd8c6e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 25 Jun 2018 13:02:30 +0300 Subject: transform-class-properties --- vnext/package.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vnext/package.json') diff --git a/vnext/package.json b/vnext/package.json index 845e6426..640283e7 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -14,6 +14,7 @@ "babel-core": "^6.26.3", "babel-jest": "^23.0.1", "babel-loader": "^7.1.4", + "babel-plugin-transform-class-properties": "^6.24.1", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "connect-history-api-fallback": "^1.5.0", @@ -38,6 +39,9 @@ "whatwg-fetch": "^2.0.4" }, "babel": { + "plugins": [ + ["transform-class-properties", {"spec": true}] + ], "presets": [ "env", "react" -- cgit v1.2.3