Skip to content

Commit b507e83

Browse files
committed
using babel-6 cli to compile
1 parent 4fbeff0 commit b507e83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
"webpack-hot-middleware": "^2.4.1"
6969
},
7070
"scripts": {
71-
"babel": "babel ./src --out-dir ./lib",
72-
"build": "cross-env NODE_ENV=production npm run babel && npm run sass",
71+
"compile": "./node_modules/.bin/babel -d ./lib ./src",
72+
"build": "cross-env NODE_ENV=production npm run compile && npm run sass",
7373
"clean": "rimraf ./lib",
7474
"lint": "eslint src test",
7575
"patch": "bumped release patch",

0 commit comments

Comments
 (0)