Skip to content

Commit

Permalink
Use babel preset to build react-server-cli (redfin#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-wade authored and davidalber committed Jul 24, 2016
1 parent 5dc0f9c commit 762be88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/react-server-cli/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"presets": ["es2015", "react"],
"plugins": ["transform-runtime"]
"presets": ["react-server"]
}

0 comments on commit 762be88

Please sign in to comment.