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 VM Babel plugin generation in browsers #1290

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

pzuraq
Copy link
Member

@pzuraq pzuraq commented Mar 25, 2021

Currently, attempting to use @glimmer/vm-babel-plugins in browsers with
standard build tooling fails due to the dynamic require that Babel
itself does with the resolved paths. This change provides an option that
allows us to load the plugins directly, which means that they will be
bundled properly.

@pzuraq pzuraq force-pushed the bugfix/fix-preset-usage-in-browsers branch from de2c51f to c7a71da Compare March 25, 2021 15:45
Currently, attempting to use `@glimmer/vm-babel-plugins` in browsers with
standard build tooling fails due to the dynamic `require` that Babel
itself does with the resolved paths. This change provides an option that
allows us to load the plugins directly, which means that they will be
bundled properly.
@pzuraq pzuraq force-pushed the bugfix/fix-preset-usage-in-browsers branch from c7a71da to 7321942 Compare March 25, 2021 15:46
@pzuraq pzuraq merged commit 56a9b91 into master Mar 25, 2021
@pzuraq pzuraq deleted the bugfix/fix-preset-usage-in-browsers branch March 25, 2021 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants