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

View file

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