Skip to content

code widget is partially broken in ESM builds #7442

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

Open
fgnass opened this issue Mar 28, 2025 · 0 comments
Open

code widget is partially broken in ESM builds #7442

fgnass opened this issue Mar 28, 2025 · 0 comments
Labels
type: bug code to address defects in shipped code

Comments

@fgnass
Copy link
Contributor

fgnass commented Mar 28, 2025

Currently, the code widget does not work properly in ESM builds as it calls require() with a dynamic argument, hence the dynamic loading of language modes is broken.

I'll open a PR to propose a fix.

@fgnass fgnass added the type: bug code to address defects in shipped code label Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant