-
Notifications
You must be signed in to change notification settings - Fork 132
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
"exports" support backport #122
Conversation
ping 🙏🏻 |
Any chance of movement here @DanielRosenwasser @weswigham? |
Hey folks, lets try get this moving. I've taken a look at this PR, but I can't get it to work in a way that I expected. I haven't built an esmodules codebase before, so I cloned https://github.com/Urigo/typescript-node-es-modules-example as a reference using node esmodules and made some edits to make it use tslib for a function. When I changed the tslib's package json to be the same as this lib running the code still failed with the same error:
But when I switched the tslib setup to replicate #119 it ran fine:
Considering you are a domain expert, and I'm an hour or two into researching. Am I missing something important, or is there a use case I've overlooked? |
Can you please undo the rename to |
Yeah, bit of a rock & hard place here - @guybedford checked on npm and no-one is using I think the only answer is duplication of either |
Why is type: module needed at all? It's totally fine to use the default behavior, that |
Thanks folks, the new backport PR is here #127 - I'm going to close this |
This is a backport of #121 since the 1.0 version of tslib is still being used in many ES packages such as material etc.
//cc @weswigham @DanielRosenwasser