laconic-console/packages/console-client/webpack-analyzer.config.js

22 lines
457 B
JavaScript

//
// Copyright 2019 DxOS
//
const merge = require('webpack-merge');
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
})
]
});