bump es version and limit inlining base64

This commit is contained in:
cutestnekoaqua 2022-12-27 23:00:46 +01:00
parent 9ed884ec78
commit a9ffe7d6a4
No known key found for this signature in database
GPG Key ID: 6BF0964A5069C1E0
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ export default defineConfig(({ command, mode }) => {
'chrome100',
'firefox100',
'safari15',
'es2017', // TODO: そのうち消す
'es2021', // TODO: keep this up to date
],
manifest: 'manifest.json',
rollupOptions: {
@ -63,6 +63,7 @@ export default defineConfig(({ command, mode }) => {
},
},
cssCodeSplit: true,
assetsInlineLimit: 1028,
outDir: __dirname + '/../../built/_client_dist_',
assetsDir: '.',
emptyOutDir: false,