mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 10:56:35 +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,
|
outDir,
|
||||||
brotliSize: false,
|
brotliSize: false,
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
|
// https://github.com/youzan/vant/issues/9703
|
||||||
|
cssTarget: ['chrome53'],
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
input: {
|
input: {
|
||||||
main: join(SITE_SRC_DIR, 'index.html'),
|
main: join(SITE_SRC_DIR, 'index.html'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user