2020-05-23 17:13:45 +00:00
|
|
|
//
|
2020-06-23 14:19:01 +00:00
|
|
|
// Copyright 2019 DXOS.org
|
2020-05-23 17:13:45 +00:00
|
|
|
//
|
|
|
|
|
2023-03-20 01:11:48 +00:00
|
|
|
const { merge } = require('webpack-merge');
|
2020-05-23 17:13:45 +00:00
|
|
|
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
|
|
|
|
|
|
|
const baseConfig = require('./webpack-common.config');
|
|
|
|
|
|
|
|
module.exports = merge(baseConfig, {
|
|
|
|
|
|
|
|
entry: './src/main',
|
|
|
|
|
|
|
|
plugins: [
|
|
|
|
// http://127.0.0.1:8888
|
|
|
|
// https://github.com/webpack-contrib/webpack-bundle-analyzer#options-for-plugin
|
|
|
|
new BundleAnalyzerPlugin({
|
|
|
|
openAnalyzer: false
|
|
|
|
})
|
|
|
|
]
|
|
|
|
});
|