fixed webpack bundle not loaded on dev
This commit is contained in:
parent
211fb965ee
commit
d9a415e04d
|
@ -4,6 +4,7 @@ const webpack = require('webpack')
|
|||
const { merge } = require('webpack-merge')
|
||||
const baseConfig = require('./webpack.config.base')
|
||||
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
|
||||
module.exports = merge(baseConfig, {
|
||||
mode: 'development',
|
||||
|
@ -48,5 +49,8 @@ module.exports = merge(baseConfig, {
|
|||
|
||||
plugins: [
|
||||
// new webpack.HotModuleReplacementPlugin()
|
||||
new BundleAnalyzerPlugin({
|
||||
'analyzerMode': 'static'
|
||||
})
|
||||
]
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue