mirror of
https://github.com/captbaritone/webamp
synced 2024-11-23 00:34:42 +00:00
aae9865786
Execute `npm run analyze` to open a size map of the production build in the browser.
12 lines
273 B
JavaScript
12 lines
273 B
JavaScript
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
|
|
.BundleAnalyzerPlugin;
|
|
|
|
const merge = require("webpack-merge");
|
|
const prod = require("./webpack.prod.js");
|
|
|
|
const config = merge(prod, {
|
|
plugins: [new BundleAnalyzerPlugin()]
|
|
});
|
|
|
|
module.exports = config;
|