Skip to content

Fixes #147936#148503

Merged
mjbvz merged 1 commit intomicrosoft:mainfrom
yhatt:iife-for-markdown-preview
May 2, 2022
Merged

Fixes #147936#148503
mjbvz merged 1 commit intomicrosoft:mainfrom
yhatt:iife-for-markdown-preview

Conversation

@yhatt
Copy link
Copy Markdown
Contributor

@yhatt yhatt commented May 1, 2022

This PR fixes #147936.

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.

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.
@mjbvz mjbvz added this to the May 2022 milestone May 2, 2022
@mjbvz mjbvz merged commit 82ad6af into microsoft:main May 2, 2022
@mjbvz
Copy link
Copy Markdown
Collaborator

mjbvz commented May 2, 2022

Thanks!

@yhatt yhatt deleted the iife-for-markdown-preview branch May 2, 2022 17:46
@github-actions github-actions bot locked and limited conversation to collaborators Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prevent global namespace pollution in Markdown preview

2 participants