fix(@vant/cli): should configure cssTarget (#9707)

This commit is contained in:
neverland
2021-10-21 17:54:51 +08:00
committed by GitHub
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'),