Fixes microsoft/vscode#147936 (#148503)
By changing output esbuild setting for Markdown preview scripts to iife, prevents global namespace pollution and reduces possibility of breaking the preview by contributions from other extensions.pull/148576/head
parent
46257aae7a
commit
82ad6afd36
|
@ -28,7 +28,7 @@ function build() {
|
|||
bundle: true,
|
||||
minify: true,
|
||||
sourcemap: false,
|
||||
format: 'esm',
|
||||
format: 'iife',
|
||||
outdir: outDir,
|
||||
platform: 'browser',
|
||||
target: ['es2020'],
|
||||
|
|
Loading…
Reference in New Issue