bump es version and limit inlining base64

This commit is contained in:
cutestnekoaqua 2022-12-27 23:00:46 +01:00
parent 12db309ae3
commit 81a6e80136

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,