调整 Vite 配置,增加最大缓存文件大小至 10MB,以支持更大的文件。

This commit is contained in:
jxxghp
2025-09-11 14:40:34 +08:00
parent c922752a1f
commit c2e97bf191

View File

@@ -149,7 +149,7 @@ export default defineConfig({
},
injectManifest: {
rollupFormat: 'iife',
maximumFileSizeToCacheInBytes: 5 * 1024 * 1024,
maximumFileSizeToCacheInBytes: 10 * 1024 * 1024,
},
devOptions: {
enabled: true,