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({