@@ -1240,6 +1240,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
12401240 " templateParameters" : [Function ],
12411241 " title" : " " ,
12421242 " xhtml" : false ,
1243+ Symbol(entryName ): " index" ,
12431244 },
12441245 " version" : 6 ,
12451246 },
@@ -3547,6 +3548,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
35473548 },
35483549 " viewport" : " width=device-width, initial-scale=1.0" ,
35493550 },
3551+ " minify" : [Function ],
35503552 " publicPath" : " auto" ,
35513553 " scriptLoading" : " defer" ,
35523554 " showErrors" : true ,
@@ -3555,6 +3557,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
35553557 " templateParameters" : [Function ],
35563558 " title" : " " ,
35573559 " xhtml" : false ,
3560+ Symbol(entryName ): " index" ,
35583561 },
35593562 " version" : 6 ,
35603563 },
@@ -5953,7 +5956,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59535956 },
59545957 " viewport" : " width=device-width, initial-scale=1.0" ,
59555958 },
5956- " minify" : " auto " ,
5959+ " minify" : false ,
59575960 " publicPath" : " auto" ,
59585961 " scriptLoading" : " defer" ,
59595962 " showErrors" : true ,
@@ -5962,6 +5965,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59625965 " templateParameters" : [Function ],
59635966 " title" : " " ,
59645967 " xhtml" : false ,
5968+ Symbol(entryName ): " index" ,
59655969 },
59665970 " userOptions" : {
59675971 " chunks" : [
@@ -5976,11 +5980,13 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59765980 },
59775981 " viewport" : " width=device-width, initial-scale=1.0" ,
59785982 },
5983+ " minify" : false ,
59795984 " scriptLoading" : " defer" ,
59805985 " template" : " " ,
59815986 " templateContent" : " <!doctype html><html><head></head><body><div id=\\ " root \\" ></div></body></html>" ,
59825987 " templateParameters" : [Function ],
59835988 " title" : " " ,
5989+ Symbol(entryName ): " index" ,
59845990 },
59855991 " version" : 5 ,
59865992 },
@@ -7588,7 +7594,26 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
75887594 },
75897595 " viewport" : " width=device-width, initial-scale=1.0" ,
75907596 },
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+ },
75927617 " publicPath" : " auto" ,
75937618 " scriptLoading" : " defer" ,
75947619 " showErrors" : true ,
@@ -7597,6 +7622,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
75977622 " templateParameters" : [Function ],
75987623 " title" : " " ,
75997624 " xhtml" : false ,
7625+ Symbol(entryName ): " index" ,
76007626 },
76017627 " userOptions" : {
76027628 " chunks" : [
@@ -7611,11 +7637,32 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
76117637 },
76127638 " viewport" : " width=device-width, initial-scale=1.0" ,
76137639 },
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+ },
76147660 " scriptLoading" : " defer" ,
76157661 " template" : " " ,
76167662 " templateContent" : " <!doctype html><html><head></head><body><div id=\\ " root \\" ></div></body></html>" ,
76177663 " templateParameters" : [Function ],
76187664 " title" : " " ,
7665+ Symbol(entryName ): " index" ,
76197666 },
76207667 " version" : 5 ,
76217668 },
0 commit comments