We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a70ba36 commit 19d8d21Copy full SHA for 19d8d21
packages/vite/src/node/server/environments/fullBundleEnvironment.ts
@@ -242,13 +242,15 @@ export class FullBundleDevEnvironment extends DevEnvironment {
242
output.chunkFileNames = 'assets/[name]-[hash].js'
243
output.assetFileNames = 'assets/[name]-[hash][extname]'
244
output.minify = false
245
+ output.sourcemap = true
246
}
247
} else {
248
rolldownOptions.output ??= {}
249
rolldownOptions.output.entryFileNames = 'assets/[name].js'
250
rolldownOptions.output.chunkFileNames = 'assets/[name]-[hash].js'
251
rolldownOptions.output.assetFileNames = 'assets/[name]-[hash][extname]'
252
rolldownOptions.output.minify = false
253
+ rolldownOptions.output.sourcemap = true
254
255
256
return rolldownOptions
0 commit comments