1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

Add webpack-bundle-analyzer

This commit is contained in:
Denis Demchenko
2019-06-16 23:57:50 +03:00
parent f5c939518e
commit ac1ec4a6c3
3 changed files with 6429 additions and 3088 deletions

View File

@@ -1,6 +1,10 @@
const path = require('path');
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
module.exports = {
plugins: [
new BundleAnalyzerPlugin(),
],
mode: 'production', // "production" | "development" | "none"
// Chosen mode tells webpack to use its built-in optimizations accordingly.
entry: {