Enable disableHostCheck option of webpack-dev-server (#2790)

pull/15/head
abcang 2017-05-05 00:49:05 +09:00 committed by Eugen Rochko
parent 75bd141e22
commit 91ddd345f2
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ module.exports = merge(devConfig, {
compress: true, compress: true,
historyApiFallback: true, historyApiFallback: true,
contentBase: resolve(paths.output, paths.entry), contentBase: resolve(paths.output, paths.entry),
publicPath publicPath,
disableHostCheck: true
} }
}) })