Skip to content

Commit

Permalink
chore(babel): switch to babel-preset-env
Browse files Browse the repository at this point in the history
see: #1868
  • Loading branch information
Maxime Janton authored and bobylito committed Mar 10, 2017
1 parent a147ace commit 96efa65
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 136 deletions.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"presets": ["latest", "react", "stage-2"],
"presets": [
["env", { "targets": { "browsers": ["last 2 versions", "ie >= 9"] } }],
"react",
"stage-2"
],
"plugins": ["lodash", "inline-json-import"],
"env": {
"development": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-transform-react-jsx-source": "^6.22.0",
"babel-polyfill": "^6.23.0",
"babel-preset-latest": "^6.22.0",
"babel-preset-env": "^1.2.1",
"babel-preset-react": "^6.23.0",
"babel-preset-stage-2": "^6.22.0",
"browser-sync": "^2.18.8",
Expand Down
Loading

0 comments on commit 96efa65

Please sign in to comment.