diff --git a/packages/react-server-cli/.babelrc b/packages/react-server-cli/.babelrc index f55dfad7c..06ffde968 100644 --- a/packages/react-server-cli/.babelrc +++ b/packages/react-server-cli/.babelrc @@ -1,4 +1,3 @@ { - "presets": ["es2015", "react"], - "plugins": ["transform-runtime"] + "presets": ["react-server"] } diff --git a/packages/react-server-cli/package.json b/packages/react-server-cli/package.json index 27638a15d..654814dd9 100644 --- a/packages/react-server-cli/package.json +++ b/packages/react-server-cli/package.json @@ -17,6 +17,7 @@ "babel-core": "^6.10.4", "babel-loader": "~6.2.2", "babel-runtime": "^6.3.19", + "babel-preset-react-server": "^0.3.3", "chunk-manifest-webpack-plugin": "0.0.1", "compression": "~1.6.2", "css-loader": "~0.15.4",