File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 13
13
"babel-plugin-import" : " ^1.13.0" ,
14
14
"core-js" : " ^3.6.4" ,
15
15
"css-loader" : " ^3.5.3" ,
16
- "fibers" : " ^5.0.0" ,
17
16
"highlight.js" : " ^10.0.3" ,
18
17
"imagemin-webpack-plugin" : " ^2.4.2" ,
19
18
"js-cookie" : " ^2.2.1" ,
34
33
"@vue/cli-service" : " ~4.3.0" ,
35
34
"@vue/eslint-config-standard" : " ^5.1.2" ,
36
35
"babel-eslint" : " ^7.2.3" ,
37
- "compression-webpack-plugin" : " ^4.0.0" ,
38
36
"eslint" : " ^6.7.2" ,
39
37
"eslint-plugin-import" : " ^2.20.2" ,
40
38
"eslint-plugin-node" : " ^11.1.0" ,
41
39
"eslint-plugin-promise" : " ^4.2.1" ,
42
40
"eslint-plugin-standard" : " ^4.0.0" ,
43
41
"eslint-plugin-vue" : " ^6.2.2" ,
44
- "node-sass" : " ^4.14 .0" ,
42
+ "node-sass" : " ^4.9 .0" ,
45
43
"sass-loader" : " ^8.0.2" ,
46
44
"vue-template-compiler" : " ^2.6.11" ,
47
45
"webpack-bundle-analyzer" : " ^3.8.0"
Original file line number Diff line number Diff line change 1
1
const path = require ( 'path' )
2
2
const BundleAanlyzerPlugin = require ( 'webpack-bundle-analyzer' ) . BundleAnalyzerPlugin
3
- const CompressionPlugin = require ( 'compression-webpack-plugin' ) ;
4
- const productionGzipExtensions = / \. ( j s | c s s | j s o n | t x t | h t m l | i c o | s v g ) ( \? .* ) ? $ / i;
5
3
const ImageminPlugin = require ( 'imagemin-webpack-plugin' ) . default
6
4
7
5
module . exports = {
@@ -19,14 +17,6 @@ module.exports = {
19
17
} ,
20
18
plugins : [
21
19
new BundleAanlyzerPlugin ( ) ,
22
- new CompressionPlugin ( {
23
- filename : '[path].gz[query]' ,
24
- algorithm : 'gzip' ,
25
- test : productionGzipExtensions ,
26
- threshold : 10240 ,
27
- minRatio : 0.8 ,
28
- deleteOriginalAssets : true
29
- } ) ,
30
20
new ImageminPlugin ( {
31
21
test : / \. ( g i f | p n g | j p e ? g | s v g ) $ / i,
32
22
disable : false , // Disable during development
You can’t perform that action at this time.
0 commit comments