Skip to content

Commit

Permalink
remove es2015
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten committed Nov 13, 2017
1 parent e03de67 commit 62f704b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"lint": "eslint src/*js*",
"lintfix": "eslint src/*js* --fix",
"clean": "rm -f PivotTable.js* PivotTableUI.js* PlotlyRenderers.js* TableRenderers.js* Utilities.js* pivottable.css",
"doPublish": "npm run clean && cp src/pivottable.css . && babel src --out-dir=. --source-maps --presets=es2015,react --plugins babel-plugin-add-module-exports && npm publish",
"doPublish": "npm run clean && cp src/pivottable.css . && babel src --out-dir=. --source-maps --presets=env,react --plugins babel-plugin-add-module-exports && npm publish",
"postpublish": "npm run clean",
"deploy": "webpack -p && mv bundle.js examples && cd examples && git init && git add . && git commit -m build && git push --force [email protected]:plotly/react-pivottable.git master:gh-pages && rm -rf .git bundle.js"
},
Expand Down Expand Up @@ -57,7 +57,6 @@
"babel-loader": "^7.1.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"css-loader": "^0.28.7",
"eslint": "^4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
use: {
loader: 'babel-loader',
options: {
"presets" : [["es2015", {"modules": false}], "react"],
"presets" : [["env", {"modules": false}], "react"],
"plugins": ["react-hot-loader/babel"]
}
},
Expand Down

0 comments on commit 62f704b

Please sign in to comment.