update webpack and webpack-dev-middleware

This commit is contained in:
afc163 2015-07-06 11:28:08 +08:00
parent c5a367febe
commit e50b760671
2 changed files with 5 additions and 3 deletions

View File

@ -38,7 +38,9 @@ exports.middlewares = [{
handler = handler || webpackMiddleware(webpackCompiler, { handler = handler || webpackMiddleware(webpackCompiler, {
publicPath: '/dist/', publicPath: '/dist/',
lazy: false, lazy: false,
watchDelay: 300, watchOptions: {
aggregateTimeout: 300
},
stats: { stats: {
hash: false, hash: false,
cached: false, cached: false,

View File

@ -45,8 +45,8 @@
"nico-jsx": "~0.5.8", "nico-jsx": "~0.5.8",
"precommit-hook": "~1.0.7", "precommit-hook": "~1.0.7",
"style-loader": "~0.12.2", "style-loader": "~0.12.2",
"webpack": "~1.9.7", "webpack": "~1.10.1",
"webpack-dev-middleware": "~1.0.11" "webpack-dev-middleware": "~1.2.0"
}, },
"scripts": { "scripts": {
"babel": "babel components --out-dir lib", "babel": "babel components --out-dir lib",