From 1fa4311106e7358ffa17c99a8b95575a7663701d Mon Sep 17 00:00:00 2001 From: Fry98 Date: Fri, 17 Dec 2021 06:37:17 +0100 Subject: [PATCH] Minify ES bundle --- vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 0639271..e86c07a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,6 +2,9 @@ import { defineConfig } from 'vite' import { resolve } from 'path' export default defineConfig({ + esbuild: { + minify: true + }, build: { target: 'esnext', minify: 'terser',