include sourcemap in vite build

This commit is contained in:
jeffvli 2025-06-09 01:28:23 -07:00
parent c4b4300845
commit c20e30e387
3 changed files with 3 additions and 0 deletions

View file

@ -13,6 +13,7 @@ const config: UserConfig = {
rollupOptions: {
external: ['source-map-support'],
},
sourcemap: true,
},
define: {
'import.meta.env.IS_LINUX': JSON.stringify(currentOSEnv === 'linux'),