1
0
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:
Phuoc Nguyen
2019-11-24 16:06:13 +07:00
parent 883aebb88d
commit 2fe9508cf1
3 changed files with 107 additions and 1 deletions

View File

@@ -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(),
],
};