File tree 1 file changed +27
-27
lines changed 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -6,32 +6,32 @@ module.exports = class extends Environment {
6
6
constructor ( ) {
7
7
super ( )
8
8
9
- this . plugins . append ( 'ModuleConcatenation' , new webpack . optimize . ModuleConcatenationPlugin ( ) )
10
-
11
- this . plugins . append ( 'UglifyJs' , new webpack . optimize . UglifyJsPlugin ( {
12
- sourceMap : true ,
13
- mangle : {
14
- safari10 : true
15
- } ,
16
- compress : {
17
- warnings : false ,
18
- comparisons : false
19
- } ,
20
- output : {
21
- comments : false ,
22
- ascii_only : true
23
- }
24
- } ) )
25
-
26
- this . plugins . append ( 'Compression' , new CompressionPlugin ( {
27
- asset : '[path].gz[query]' ,
28
- algorithm : 'gzip' ,
29
- test : / \. ( j s | c s s | h t m l | j s o n | i c o | s v g | e o t | o t f | t t f ) $ /
30
- } ) )
31
-
32
- this . config . merge ( {
33
- devtool : 'nosources-source-map' ,
34
- stats : 'normal'
35
- } )
9
+ // this.plugins.append('ModuleConcatenation', new webpack.optimize.ModuleConcatenationPlugin())
10
+ //
11
+ // this.plugins.append('UglifyJs', new webpack.optimize.UglifyJsPlugin({
12
+ // sourceMap: true,
13
+ // mangle: {
14
+ // safari10: true
15
+ // },
16
+ // compress: {
17
+ // warnings: false,
18
+ // comparisons: false
19
+ // },
20
+ // output: {
21
+ // comments: false,
22
+ // ascii_only: true
23
+ // }
24
+ // }))
25
+ //
26
+ // this.plugins.append('Compression', new CompressionPlugin({
27
+ // asset: '[path].gz[query]',
28
+ // algorithm: 'gzip',
29
+ // test: /\.(js|css|html|json|ico|svg|eot|otf|ttf)$/
30
+ // }))
31
+ //
32
+ // this.config.merge({
33
+ // devtool: 'nosources-source-map',
34
+ // stats: 'normal'
35
+ // })
36
36
}
37
37
}
You can’t perform that action at this time.
0 commit comments