fix: 修复css前缀无法应用问题(#482)

This commit is contained in:
kailong321200875
2024-06-04 11:13:50 +08:00
parent 761a60eea4
commit 4b43c87949
3 changed files with 9 additions and 3 deletions

View File

@@ -135,7 +135,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
}
}
},
cssCodeSplit: !(env.VITE_USE_CSS_SPLIT === 'false')
cssCodeSplit: !(env.VITE_USE_CSS_SPLIT === 'false'),
cssTarget: ['chrome31']
},
server: {
port: 4000,