From 037e8be501557a7830c5ac5ef4c66c42c23278f6 Mon Sep 17 00:00:00 2001 From: danielSbastos Date: Tue, 7 Nov 2023 01:03:05 -0300 Subject: [PATCH] Ignore top level await in vite --- vite.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 861b04b3..e0ff59bb 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,4 +4,7 @@ import react from '@vitejs/plugin-react-swc' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], -}) + build: { + target: 'esnext' + }, +}) \ No newline at end of file