diff --git a/extensions/markdown-language-features/esbuild-preview.js b/extensions/markdown-language-features/esbuild-preview.js index d6af78d016e..c25dab4dbae 100644 --- a/extensions/markdown-language-features/esbuild-preview.js +++ b/extensions/markdown-language-features/esbuild-preview.js @@ -28,7 +28,7 @@ function build() { bundle: true, minify: true, sourcemap: false, - format: 'esm', + format: 'iife', outdir: outDir, platform: 'browser', target: ['es2020'],