From 81a6e8013662e71fa5cd3f670c9b265bc596a56f Mon Sep 17 00:00:00 2001 From: cutestnekoaqua Date: Tue, 27 Dec 2022 23:00:46 +0100 Subject: [PATCH] bump es version and limit inlining base64 --- packages/client/vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index b65a8c813..baec31cd3 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -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,