ocrcc-chatbox/webpack.config.profile.js

7 lines
255 B
JavaScript
Raw Permalink Normal View History

2020-06-26 03:03:22 +00:00
const config = require('./webpack.config');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
config[0].plugins = config[0].plugins.concat([new BundleAnalyzerPlugin({ analyzerPort: 5555 })]);
module.exports = config;