Andrew Branch
Andrew Branch
I think I just hit this too. 😬
Transferring to https://github.com/microsoft/TypeScript-DOM-lib-generator. PR welcome there.
If I understand this correctly, I think I disagree with the premise of this issue. You can’t include FormData data in a JSON hash—JSON simply doesn’t support it. If you...
> Incorrect.... package.json exports fields are fully supported by moduleResolution node, they are just broken out of the box It’s a weird situation to have to assert my credentials on...
Right, this issue will be resolved by a new module resolution mode for bundlers, which will include package.json `exports` support but will not require file extensions. Reminder: > If you...
Brief off-topic: > I’m not willing to debate the validity of the broad claims I’ve made in this issue. FWIW, I really dislike how this came off. There has been...
> and add nested `package.json` there with just one line Why is this nested package.json necessary in your example? _**EDIT:** All the following information is now presented in a much...
In talking about the published package contents, I wasn’t necessarily making any assumptions about how it was generated. tsc isn’t designed to help you generate dual ESM and CJS packages...
> If all `d.ts` are `commonjs` in a published library, and if the library consumer uses `"moduleResolution": "nodenext"`, then the library can only use dependencies which also have only `commonjs`...
> I’ll try to port this to a working repo today or tomorrow As promised: https://github.com/andrewbranch/example-subpath-exports-ts-compat > and fix any errors that turn up in the process I didn’t notice...