Skip to content

Commit 19d8d21

Browse files
committed
wip: update
1 parent a70ba36 commit 19d8d21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/vite/src/node/server/environments/fullBundleEnvironment.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,15 @@ export class FullBundleDevEnvironment extends DevEnvironment {
242242
output.chunkFileNames = 'assets/[name]-[hash].js'
243243
output.assetFileNames = 'assets/[name]-[hash][extname]'
244244
output.minify = false
245+
output.sourcemap = true
245246
}
246247
} else {
247248
rolldownOptions.output ??= {}
248249
rolldownOptions.output.entryFileNames = 'assets/[name].js'
249250
rolldownOptions.output.chunkFileNames = 'assets/[name]-[hash].js'
250251
rolldownOptions.output.assetFileNames = 'assets/[name]-[hash][extname]'
251252
rolldownOptions.output.minify = false
253+
rolldownOptions.output.sourcemap = true
252254
}
253255

254256
return rolldownOptions

0 commit comments

Comments
 (0)