Skip to content

Commit

Permalink
Add babel es3 plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Piatek <do.piatek@gmail.com>
  • Loading branch information
dpiatek committed Jul 26, 2016
1 parent a76daa2 commit 26abe2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"presets": ["react-hmre"]
},
"production": {
"plugins": ["add-module-exports"]
"plugins": [
"add-module-exports",
"transform-es3-member-expression-literals",
"transform-es3-property-literals"
]
}
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"babel-eslint": "^6.0.2",
"babel-loader": "^6.2.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es3-member-expression-literals": "^6.8.0",
"babel-plugin-transform-es3-property-literals": "^6.8.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-react-hmre": "^1.0.1",
Expand Down

0 comments on commit 26abe2c

Please sign in to comment.