mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-26 05:14:11 +02:00
Enable source maps for production builds
Adds sourcemap: true to Vite build configuration to generate external source map files (.map) alongside JavaScript bundles. This enables debugging of production builds with original source code while keeping source maps separate from the main bundle files. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.5
parent
7a5bca7aae
commit
22ae951ab6
@@ -39,6 +39,7 @@ export default defineConfig(async () => {
|
||||
}),
|
||||
],
|
||||
build: {
|
||||
sourcemap: true,
|
||||
outDir: '../dist',
|
||||
emptyOutDir: true,
|
||||
rollupOptions: {
|
||||
|
||||
Reference in New Issue
Block a user