...
|
...
|
@@ -219,7 +219,7 @@ gulp.task('webpack-dev-server', () => { |
|
|
devConfig.plugins[0] = new ExtractTextPlugin('bundle/[name].css');
|
|
|
devConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
|
|
|
|
|
|
// devConfig.entry.libs.unshift(`webpack-dev-server/client?${devConfig.output.publicPath}`, 'webpack/hot/dev-server');
|
|
|
devConfig.entry.libs.unshift(`webpack-dev-server/client?${devConfig.output.publicPath}`, 'webpack/hot/dev-server');
|
|
|
|
|
|
new WebpackDevServer(webpack(devConfig), {
|
|
|
contentBase: '.',
|
...
|
...
|
|