mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(@vant/cli): should configure cssTarget (#9707)
This commit is contained in:
parent
881f742818
commit
850aedd864
@ -166,6 +166,8 @@ export function getViteConfigForSiteProd(): InlineConfig {
|
||||
outDir,
|
||||
brotliSize: false,
|
||||
emptyOutDir: true,
|
||||
// https://github.com/youzan/vant/issues/9703
|
||||
cssTarget: ['chrome53'],
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: join(SITE_SRC_DIR, 'index.html'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user