mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 05:28:19 -05:00
Change sourcemap option from 'external' to 'linked' for better debugging support (#295569)
This commit is contained in:
@@ -466,7 +466,7 @@ async function compileStandaloneFiles(outDir: string, doMinify: boolean, target:
|
||||
format: 'cjs', // CommonJS for Electron preload
|
||||
platform: 'node',
|
||||
target: ['es2024'],
|
||||
sourcemap: 'external',
|
||||
sourcemap: 'linked',
|
||||
sourcesContent: false,
|
||||
minify: doMinify,
|
||||
banner: { js: banner },
|
||||
@@ -781,7 +781,7 @@ ${tslib}`,
|
||||
platform: 'neutral',
|
||||
target: ['es2024'],
|
||||
packages: 'external',
|
||||
sourcemap: 'external',
|
||||
sourcemap: 'linked',
|
||||
sourcesContent: true,
|
||||
minify: doMinify,
|
||||
treeShaking: true,
|
||||
@@ -833,7 +833,7 @@ ${tslib}`,
|
||||
platform: 'node',
|
||||
target: ['es2024'],
|
||||
packages: 'external',
|
||||
sourcemap: 'external',
|
||||
sourcemap: 'linked',
|
||||
sourcesContent: true,
|
||||
minify: doMinify,
|
||||
treeShaking: true,
|
||||
|
||||
Reference in New Issue
Block a user