-
Notifications
You must be signed in to change notification settings - Fork 17
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
better expose render methods #64
Comments
@emmclaughlin I looked at the PR. Isn't there another way you can expose the import without having to import from the dist directory? this seems wrong to me. |
We need to keep the render function out of the main index.ts file in order to fix dependency issues (e.g. #36). That said, agree it feels odd with the dist directory, will see if we can clean that up |
Lets update the readme to reduce confusion related to #64
If anyone has ideas of how to make this better for both |
esm
and cjs
esm
and cjs
I think we can close this ticket and explore exporting to both |
Unlike the example in the README, I have to import directly from the source:
from maintainers
Ideally the goal would be:
Two blockers:
dist
folder #71esm
andcjs
can co-exist with the same imports #72The text was updated successfully, but these errors were encountered: