From a9ffe7d6a41efd308017afe0ec9976a7e7086138 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 b65a8c8133..baec31cd37 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,