2021-02-06 17:12:09 +03:00
|
|
|
const { merge } = require('webpack-merge')
|
2020-05-10 12:12:25 +03:00
|
|
|
const common = require('./webpack.config.js')
|
2020-11-20 11:33:57 +03:00
|
|
|
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
2020-05-10 12:12:25 +03:00
|
|
|
|
|
|
|
module.exports = merge(common, {
|
|
|
|
mode: 'development',
|
|
|
|
devtool: 'inline-cheap-source-map',
|
2020-11-20 11:33:57 +03:00
|
|
|
plugins: [
|
2020-12-21 18:37:10 +03:00
|
|
|
new BundleAnalyzerPlugin(
|
|
|
|
{
|
|
|
|
openAnalyzer: false,
|
|
|
|
}
|
|
|
|
)
|
2020-11-20 11:33:57 +03:00
|
|
|
],
|
2020-05-10 12:12:25 +03:00
|
|
|
})
|