diff --git a/.babelrc b/.babelrc index a1e6663ae6..282f74d067 100644 --- a/.babelrc +++ b/.babelrc @@ -1,6 +1,6 @@ { "presets": ["es2015", "stage-0", "react"], - "plugins": "transform-runtime", + "plugins": ["transform-runtime", "transform-decorators-legacy"], "env": { "browser": { "plugins": [["react-transform", { diff --git a/package.json b/package.json index f8cc32a34f..c405564181 100644 --- a/package.json +++ b/package.json @@ -134,6 +134,7 @@ "devDependencies": { "babel-cli": "^6.11.4", "babel-plugin-react-transform": "^2.0.2", + "babel-plugin-transform-decorators-legacy": "^1.3.4", "chai": "^3.5.0", "chai-immutable": "^1.5.3", "co-mocha": "^1.1.2",