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

Export @trinsic/trinsic/browser properly #906

Merged
merged 3 commits into from
Aug 1, 2022
Merged

Conversation

fundthmcalculus
Copy link
Contributor

No description provided.

Copy link
Member

@tmarkovski tmarkovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this load from lib or are we keeping everything in src now?

@fundthmcalculus
Copy link
Contributor Author

I tried that. That was what required the lib browser import directive. Apparently you can't have a default import from a lib folder from what I can tell.

@fundthmcalculus
Copy link
Contributor Author

This looks promising: nodejs/node#14970 (comment)

@fundthmcalculus
Copy link
Contributor Author

Appears to work locally, testing with one final rc before sending https://github.com/trinsic-id/sdk/issues/881

@fundthmcalculus fundthmcalculus temporarily deployed to npmjs.com August 1, 2022 20:05 Inactive
@fundthmcalculus
Copy link
Contributor Author

It works as expected.

@fundthmcalculus fundthmcalculus changed the title precompile and export browser tag Export @trinsic/trinsic/browser properly Aug 1, 2022
Copy link
Member

@tmarkovski tmarkovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\o/

@fundthmcalculus fundthmcalculus merged commit 9f2b668 into main Aug 1, 2022
@fundthmcalculus fundthmcalculus deleted the expose-browser-clean branch August 1, 2022 20:27
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.

3 participants