From 49d861c6e63f4da0a48a92f236fe35191b667993 Mon Sep 17 00:00:00 2001 From: Michcio Date: Tue, 26 Jul 2022 18:07:49 +0200 Subject: [PATCH] Trim the browser targets list in the transpilation config I only use Safari (and sometimes Firefox, but not much), and I do not particularly care for visitors to my instance, so this is again an attempt at allowing the compiler to be more reckless wrt polyfilling to minimize generated code. --- packages/client/vite.config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index 443582a8d..f5e56e951 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -47,10 +47,8 @@ export default defineConfig(({ command, mode }) => { build: { target: [ - 'chrome100', - 'firefox100', - 'safari15', - 'es2017', + 'firefox103', + 'safari16', ], manifest: 'manifest.json', rollupOptions: {