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, + }, }; });