Sith/webpack.analyze.config.js
2024-10-15 21:41:18 +02:00

8 lines
229 B
JavaScript

const BundleAnalyzerPlugin = require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
const config = require("./webpack.config.js");
module.exports = {
...config,
plugins: [...config.plugins, new BundleAnalyzerPlugin()],
};