Entry point without TLA for js package #1638
Reference in New Issue
Block a user
No description provided.
Delete Branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow up on #1637
TLDR: tooling for TLA is not there yet; An additional entry point without top-level-await is appropriate
The latest updates on your projects. Learn more about Vercel for Git ↗︎
We are already doing this in the babel transform during packing. TS entry points in package.json are also rewritten.
It looks like the Jest environment didn’t like the extension change.
The model in the repo right now is that when Yoga is published, its package entry point is changed to be written to babel generated JS, along with rewriting imports. But still include original sources as well.
Current change seems to be breaking the dev-time builds and scripts which transform the typescript on the fly.
I think it should probably all work after reverting extension change though.
Sorry for my confusion
again sorry for forgetting to run eslint :)
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@bbohlender would you be able to give this a quick mention in the package readme?
@NickGerleman, for sure! Is that, what you had in mind?
That looks great. Thanks for this PR!
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@NickGerleman merged this pull request in facebook/yoga@bbdd1afe59.
Pull request closed