mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-08 23:26:32 +02:00
Add webpack analyzer plugin
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const path = require('path');
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
|
||||
module.exports = {
|
||||
entry: './client/index.jsx',
|
||||
@@ -32,4 +33,7 @@ module.exports = {
|
||||
contentBase: path.join(__dirname, 'build'),
|
||||
historyApiFallback: true,
|
||||
},
|
||||
plugins: [
|
||||
new BundleAnalyzerPlugin(),
|
||||
],
|
||||
};
|
||||
|
Reference in New Issue
Block a user