mirror of
https://github.com/zoriya/flood.git
synced 2026-05-25 08:23:26 +00:00
Include Babel polyfill
This commit is contained in:
+4
-1
@@ -41,7 +41,10 @@ if (development) {
|
||||
|
||||
var webpackConfig = {
|
||||
devtool: webpackDevtool,
|
||||
entry: './' + dirs.src + '/' + dirs.js + '/' + files.mainJs + '.js',
|
||||
entry: [
|
||||
'babel-polyfill',
|
||||
'./' + dirs.src + '/' + dirs.js + '/' + files.mainJs + '.js'
|
||||
],
|
||||
output: {
|
||||
filename: './' + dirs.dist + '/' + dirs.jsDist + '/' + files.mainJsDist + '.js'
|
||||
},
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.7.0",
|
||||
"babel-polyfill": "^6.9.1",
|
||||
"body-parser": "~1.12.0",
|
||||
"classnames": "^2.1.5",
|
||||
"compression": "^1.6.1",
|
||||
|
||||
Reference in New Issue
Block a user