From dc75c1cfb485e07b4668546fc829f359dd408599 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Wed, 27 Apr 2022 12:11:59 -0700 Subject: [PATCH] Enable source-maps --- vite.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.js b/vite.config.js index 63288fa..95f6c3d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -24,6 +24,9 @@ export default defineConfig(({ mode }) => { const env = loadEnv(mode, process.cwd()); return { + build: { + sourcemap: true, + }, plugins: [ svgrPlugin(), htmlTemplate({