Closed webszy closed 3 years ago
i try to reConfig vite one step by step,find that when i install Autoprefixer and use it,index.html will be wrong,please help me to fix it
i slove the this problem by change the vite-plugin-compress to vite-plugin-compression , this problem caused by vite-plugin-compress !!!
Describe the bug
after build by vite,index.html is wrong unicode and cannot correctly display
Reproduction
this is my repo: https://github.com/webszy/vite-vue2-project
then output index.html just like,i try to change code and not be help 4ŒÔV7„‰«î§î§•œõž@º¿ÕaÑ9å´yK+«†ÎÙ¡ben÷.µÓƧ(&ŽòªzU( ÑíP1gÛŽž [rJVð’ƒk]/ór(ˆŸ!¢ÈJQì•ÿo#Áô0ßUM5¾û™9wU¬˜é؉7”#!Z²¹™»I^£Ô¤$¨ycëH¶6œ¤y7Û¢eæ«êj:÷ëåö¹obSH;W{O£Õ…P;bAHGQb]€0—µ k45X…!Å_ihTQ¥0’Íõ&'Y+\°L°Ú ɾ-1ðþ/NGõ8’|ú±×zøEÙ2MÒ²ŒfeßO~¤¹Ó»Ç‹é&~œgp °'Ğg´Æë_;#9º.Æìº÷4F£w®(×qh<ãøƒ/¼©}°/îým˜m‡ruoëH "ƒ;”¥ªŠ0V==hïC€’‘êPc…é½LIÖôé1„®«RÛ#©9PÕ©žcÊÀê-кj€ø‘dãqÕ+ÆÏÇ4 ‹ÔÂPŠÄ²§cvÄM¾Èæô3×4p$Zëœp&^,{†±VÖT24oW?e=œú¸^ïh{¡='Eë)¯;ãDõÈê•yéö…Ø{ám¶Ø3–aqZÇ…}«hš®¶å‚Ù1Hi¶X:•í=³ÂgT¥Þe‹ÿ= c“ÞÖȸ®Û»ÃbÉž…Ç~,Û,`HøÛl‚xA3º†‡¤Ÿ'|í7C:kKŒñÈ&ˆtAë÷½+Z «CÅæßëx,Y¶?âe¡ôšòn ·±IZá|µ,û8¼ò! 7.DGe€BͫֆݪÓñt3ÇĦû—§=”Q[.YÓtRÏÆuôïàÀn¯îa§²Ÿ
System Info
Used Package Manager
npm
Logs
Validations