@@ -51,7 +51,8 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
- inject: true
+ inject: true,
+ favicon: path.resolve(__dirname, '../static/favicon.ico')
}),
// copy custom static assets
new CopyWebpackPlugin([
@@ -72,7 +72,8 @@ const webpackConfig = merge(baseWebpackConfig, {
// https://github.com/kangax/html-minifier#options-quick-reference
},
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
- chunksSortMode: 'dependency'
+ chunksSortMode: 'dependency',
// keep module.id stable when vendor modules does not change
new webpack.HashedModuleIdsPlugin(),