From f120039ffcdbdbbae465861cfd90a34e8ab42758 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Sat, 17 Feb 2024 13:05:31 +0100 Subject: [PATCH] add sourcemap --- vite.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.js b/vite.config.js index a80bed2..efa4615 100644 --- a/vite.config.js +++ b/vite.config.js @@ -18,5 +18,8 @@ export default defineConfig(({ mode }) => { server: { host: host, }, + build: { + sourcemap: env.VITE_PROD_SOURCE_MAPS, + }, }; });