mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
chore(deps): adds compression-webpack-plugin
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
const path = require('path');
|
||||
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
||||
// const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
||||
const CompressionPlugin = require('compression-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
new BundleAnalyzerPlugin(),
|
||||
new CompressionPlugin(),
|
||||
],
|
||||
mode: 'production', // "production" | "development" | "none"
|
||||
// Chosen mode tells webpack to use its built-in optimizations accordingly.
|
||||
|
||||
Reference in New Issue
Block a user