diff --git a/package.json b/package.json index 712d07280..ed735fb35 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,11 @@ }, "devDependencies": { "babel-plugin-react-require": "^2.1.0", + "babel-plugin-react-server": "^0.3.3", "babel-plugin-transform-runtime": "~6.5.0", "babel-preset-es2015": "~6.5.0", "babel-preset-react": "^6.5.0", + "babel-preset-react-server": "^0.3.3", "babel-preset-stage-1": "^6.5.0", "babel-register": "^6.7.2", "cheerio": "0.19.0", 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"] }