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

Added module entry point #8

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Added module entry point #8

merged 2 commits into from
Oct 25, 2024

Conversation

EliasEriksson
Copy link
Contributor

  • Added module and exports field to package.json
    • "." for the regular export.
    • "./dist/global" for import "typedly/dist/global" to get the global types

Both module field and exports required due to rollup seemingly not supporting exports without plugin and we use rollup for stencil in smoothly (the plugins major version 13 seams to be the one working for stencils 4.17.x rollup version).

@EliasEriksson EliasEriksson merged commit 861e4ad into master Oct 25, 2024
4 checks passed
@EliasEriksson EliasEriksson deleted the added-module-entry-point branch October 25, 2024 11:25
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.

2 participants