Skip to content

Support explicit glint-environment package entrypoints #55

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

Merged
merged 2 commits into from
Mar 9, 2021

Conversation

dfreeman
Copy link
Member

@dfreeman dfreeman commented Mar 9, 2021

Currently glint environment packages use their default node.js entrypoint for the environment definition. We'd like to free up the regular entrypoint in order to support reexporting glint-compatible versions of Component, helper, etc.

To accomplish this, GlintEnvironment.load now checks a 'glint-environment' field in the target's package.json and will load from there if specified. The glimmerx and ember-loose environments have been updated to use this field accordingly.

@dfreeman dfreeman added the internal Changes that don't impact the published packages label Mar 9, 2021
@dfreeman dfreeman merged commit 2be6f09 into master Mar 9, 2021
@dfreeman dfreeman deleted the env-entrypoint branch March 9, 2021 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes that don't impact the published packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant