Sverre Johansen
Sverre Johansen
ESBuild resolves modules by using the TypeScript `moduleSuffixes` per package instead of per bundle
The [`moduleSuffixes` feature of TypeScript](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#resolution-customization-with-modulesuffixes) is now being used for module resolution in ESBuild, but for a bundle this should be set once per whole bundle, and not locally per...
### Description The import mapper plugins doesn't share any logic, but is doing the same thing and some functions are copied between them. There are also other bundlers needing the...
The packages here has `main`, `types`, `module` and `exports` field. The exports field can contain the information from the other fields. When using TyperScript with the `moduleResolution: "bundler"` setting, TypeScript...