Skip to content

Commit

Permalink
Generate and publish sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Tnze committed Nov 12, 2024
1 parent cdafabc commit 7d627e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,7 @@ export default defineConfig({
fco: resolve(__dirname, 'fco.html'),
},
},
// Disable sourcemap for Tauri target
sourcemap: process.env.VITE_BESTCRAFT_TARGET != 'tauri',
},
});

0 comments on commit 7d627e6

Please sign in to comment.