Skip to content

Commit 7e01b2b

Browse files
committed
Get rid of babel-preset-es2015
1 parent 26eaaa8 commit 7e01b2b

4 files changed

+3
-4
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"presets": [
3-
"es2015"
3+
"env"
44
]
55
}

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"git graph"
1414
],
1515
"scripts": {
16-
"build": "node -r babel-register ./node_modules/.bin/webpack --progress --colors",
16+
"build": "webpack --progress --colors",
1717
"build:watch": "yarn build --watch",
18-
"release": "yarn build -p --config webpack.config.prod.js",
18+
"release": "yarn build -p --config webpack.config.prod.babel.js",
1919
"upgrade": "yarn-upgrade-all && yarn remove d3 && yarn add d3@3.5.17",
2020
"lint": "standard",
2121
"karma": "node -r babel-register node_modules/.bin/karma start karma.conf.js --single-run",
@@ -48,7 +48,6 @@
4848
"babel-loader": "^7.1.2",
4949
"babel-plugin-lodash": "^3.3.2",
5050
"babel-preset-env": "^1.6.1",
51-
"babel-preset-es2015": "^6.24.1",
5251
"codeclimate-test-reporter": "^0.5.0",
5352
"css-loader": "^0.28.7",
5453
"css-to-string-loader": "^0.1.3",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)