Skip to content

Commit

Permalink
Merge pull request #25 from jaredpalmer/optimize-plugins
Browse files Browse the repository at this point in the history
add babel transform plugins
  • Loading branch information
jaredpalmer committed Mar 1, 2016
2 parents 40e4b1e + 184da06 commit 48926eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"presets": ["es2015", "react", "stage-0"]
"presets": ["es2015", "react", "stage-0"],
"plugins": ["transform-react-constant-elements", "transform-react-inline-elements"]
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"assets-webpack-plugin": "^3.3.0",
"babel-core": "^6.5.1",
"babel-loader": "^6.2.2",
"babel-plugin-transform-react-constant-elements": "^6.5.0",
"babel-plugin-transform-react-inline-elements": "^6.5.0",
"babel-polyfill": "^6.5.0",
"babel-preset-es2015": "^6.5.0",
"babel-preset-react": "^6.5.0",
Expand Down

0 comments on commit 48926eb

Please sign in to comment.