commit for merge
This commit is contained in:
@@ -6,5 +6,15 @@ export default defineConfig({
|
||||
output: 'static',
|
||||
build: {
|
||||
assets: 'assets'
|
||||
},
|
||||
vite: {
|
||||
// 减少来自依赖项的警告噪音
|
||||
define: {
|
||||
'process.env.NODE_ENV': JSON.stringify('production')
|
||||
},
|
||||
// 抑制未使用导入的警告
|
||||
ssr: {
|
||||
noExternal: []
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user