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

Allow direct importing of the standalone module #89

Merged
merged 6 commits into from
Dec 17, 2024
Merged

Conversation

NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented Dec 13, 2024

When bundling content-tag tag in a WebWorker, building with rollup will not use the browser condition, and fallback to the node imports. We don't want that, so we need a way to import the explicit standalone build of content-tag.

babel-plugin-ember-template-compilation does something similar, here: https://github.com/emberjs/babel-plugin-ember-template-compilation/blob/main/package.json#L13

When bundling content-tag tag in a WebWorker, building with rollup will not use the `browser` condition, and fallback to the node imports. We don't want that, so we need a way to import the explicit standalone build of content-tag.
@NullVoxPopuli NullVoxPopuli added the enhancement New feature or request label Dec 13, 2024
@ef4 ef4 merged commit 8278f31 into main Dec 17, 2024
1 check passed
@ef4 ef4 deleted the NullVoxPopuli-patch-1 branch December 17, 2024 16:50
@github-actions github-actions bot mentioned this pull request Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants