关闭gzip

This commit is contained in:
fan 2020-04-01 14:40:46 +08:00
parent 848875bd57
commit a743469796

View File

@ -6,7 +6,7 @@ const defaultSettings = require('./src/settings.js');
const CopyWebpackPlugin = require('copy-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin');
const webpack = require('webpack'); const webpack = require('webpack');
const CompressionPlugin = require('compression-webpack-plugin'); // const CompressionPlugin = require('compression-webpack-plugin');
// const productionGzipExtensions = ['js', 'css']; // const productionGzipExtensions = ['js', 'css'];
// const isProduction = process.env.NODE_ENV === 'production'; // const isProduction = process.env.NODE_ENV === 'production';