@@ -1240,6 +1240,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
1240
1240
" templateParameters" : [Function ],
1241
1241
" title" : " " ,
1242
1242
" xhtml" : false ,
1243
+ Symbol(entryName ): " index" ,
1243
1244
},
1244
1245
" version" : 6 ,
1245
1246
},
@@ -3547,6 +3548,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
3547
3548
},
3548
3549
" viewport" : " width=device-width, initial-scale=1.0" ,
3549
3550
},
3551
+ " minify" : [Function ],
3550
3552
" publicPath" : " auto" ,
3551
3553
" scriptLoading" : " defer" ,
3552
3554
" showErrors" : true ,
@@ -3555,6 +3557,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
3555
3557
" templateParameters" : [Function ],
3556
3558
" title" : " " ,
3557
3559
" xhtml" : false ,
3560
+ Symbol(entryName ): " index" ,
3558
3561
},
3559
3562
" version" : 6 ,
3560
3563
},
@@ -5953,7 +5956,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
5953
5956
},
5954
5957
" viewport" : " width=device-width, initial-scale=1.0" ,
5955
5958
},
5956
- " minify" : " auto " ,
5959
+ " minify" : false ,
5957
5960
" publicPath" : " auto" ,
5958
5961
" scriptLoading" : " defer" ,
5959
5962
" showErrors" : true ,
@@ -5962,6 +5965,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
5962
5965
" templateParameters" : [Function ],
5963
5966
" title" : " " ,
5964
5967
" xhtml" : false ,
5968
+ Symbol(entryName ): " index" ,
5965
5969
},
5966
5970
" userOptions" : {
5967
5971
" chunks" : [
@@ -5976,11 +5980,13 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
5976
5980
},
5977
5981
" viewport" : " width=device-width, initial-scale=1.0" ,
5978
5982
},
5983
+ " minify" : false ,
5979
5984
" scriptLoading" : " defer" ,
5980
5985
" template" : " " ,
5981
5986
" templateContent" : " <!doctype html><html><head></head><body><div id=\\ " root \\" ></div></body></html>" ,
5982
5987
" templateParameters" : [Function ],
5983
5988
" title" : " " ,
5989
+ Symbol(entryName ): " index" ,
5984
5990
},
5985
5991
" version" : 5 ,
5986
5992
},
@@ -7588,7 +7594,26 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
7588
7594
},
7589
7595
" viewport" : " width=device-width, initial-scale=1.0" ,
7590
7596
},
7591
- " minify" : " auto" ,
7597
+ " minify" : {
7598
+ " collapseWhitespace" : true ,
7599
+ " keepClosingSlash" : true ,
7600
+ " minifyCSS" : true ,
7601
+ " minifyJS" : {
7602
+ " format" : {
7603
+ " ascii_only" : true ,
7604
+ },
7605
+ " mangle" : {
7606
+ " safari10" : true ,
7607
+ },
7608
+ },
7609
+ " minifyURLs" : true ,
7610
+ " removeComments" : false ,
7611
+ " removeEmptyAttributes" : true ,
7612
+ " removeRedundantAttributes" : true ,
7613
+ " removeScriptTypeAttributes" : true ,
7614
+ " removeStyleLinkTypeAttributes" : true ,
7615
+ " useShortDoctype" : true ,
7616
+ },
7592
7617
" publicPath" : " auto" ,
7593
7618
" scriptLoading" : " defer" ,
7594
7619
" showErrors" : true ,
@@ -7597,6 +7622,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
7597
7622
" templateParameters" : [Function ],
7598
7623
" title" : " " ,
7599
7624
" xhtml" : false ,
7625
+ Symbol(entryName ): " index" ,
7600
7626
},
7601
7627
" userOptions" : {
7602
7628
" chunks" : [
@@ -7611,11 +7637,32 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
7611
7637
},
7612
7638
" viewport" : " width=device-width, initial-scale=1.0" ,
7613
7639
},
7640
+ " minify" : {
7641
+ " collapseWhitespace" : true ,
7642
+ " keepClosingSlash" : true ,
7643
+ " minifyCSS" : true ,
7644
+ " minifyJS" : {
7645
+ " format" : {
7646
+ " ascii_only" : true ,
7647
+ },
7648
+ " mangle" : {
7649
+ " safari10" : true ,
7650
+ },
7651
+ },
7652
+ " minifyURLs" : true ,
7653
+ " removeComments" : false ,
7654
+ " removeEmptyAttributes" : true ,
7655
+ " removeRedundantAttributes" : true ,
7656
+ " removeScriptTypeAttributes" : true ,
7657
+ " removeStyleLinkTypeAttributes" : true ,
7658
+ " useShortDoctype" : true ,
7659
+ },
7614
7660
" scriptLoading" : " defer" ,
7615
7661
" template" : " " ,
7616
7662
" templateContent" : " <!doctype html><html><head></head><body><div id=\\ " root \\" ></div></body></html>" ,
7617
7663
" templateParameters" : [Function ],
7618
7664
" title" : " " ,
7665
+ Symbol(entryName ): " index" ,
7619
7666
},
7620
7667
" version" : 5 ,
7621
7668
},
0 commit comments