Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #147936 #148503

Merged
merged 1 commit into from May 2, 2022
Merged

Fixes #147936 #148503

merged 1 commit into from May 2, 2022

Conversation

yhatt
Copy link
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
Contributor

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