Make it browserify-friendly
Because `main.js` uses ES2015, this tells browserify to compile it with babelify first.
This commit is contained in:
parent
e38154f73a
commit
c04623ae05
|
|
@ -7,6 +7,11 @@
|
|||
"url": "https://github.com/christianalfoni/formsy-react.git"
|
||||
},
|
||||
"main": "src/main.js",
|
||||
"browserify": {
|
||||
"transform": [
|
||||
"babelify"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server --content-base build",
|
||||
"deploy": "NODE_ENV=production webpack -p --config webpack.production.config.js",
|
||||
|
|
|
|||
Loading…
Reference in New Issue