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

Add backwards-compatible exports for reflect-metadata/Reflect #157

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

rbuckton
Copy link
Owner

Even though the documentation indicates that the package should be referenced via reflect-metadata (except when used via <script>), some projects may have manual references to reflect-metadata/Reflect or reflect-metadata/Reflect.js that are now broken by the switch to using the "exports" field in package.json. While I recommend that users switch to using the default package export via reflect-metadata, this adds backwards compatibility for older imports.

Fixes #154

@rbuckton rbuckton merged commit 9562d63 into main Dec 14, 2023
1 check passed
@rbuckton rbuckton deleted the backwards-compat-exports branch December 14, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package subpath './Reflect' is not defined by "exports"
1 participant