This commit is contained in:
pa
2026-03-26 17:41:45 +09:00
parent 62a54922e7
commit c504c71191
8 changed files with 64 additions and 61 deletions

View File

@@ -126,7 +126,9 @@ export default defineConfig(({ mode }) => {
},
sourcemaps: {
assets: './build/html/**',
filesToDeleteAfterUpload: './build/html/**/*.js.map'
filesToDeleteAfterUpload:
'./build/html/**/*.js.map',
ignore: []
}
})
)
@@ -179,7 +181,7 @@ export default defineConfig(({ mode }) => {
copyPublicDir: true,
reportCompressedSize: false,
chunkSizeWarningLimit: 5000,
sourcemap: buildAndUploadSourceMaps,
sourcemap: buildAndUploadSourceMaps ? 'hidden' : false,
assetsInlineLimit(filePath) {
if (isFont(filePath)) return 0;
return 40960;