Loading ESM in Typescript
envgap__unjs__pathe-191
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
a85706b2ba8a2aecea67af445d0b1e2bfe3267da- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
unjs/pathe #191 · read the original issue
### Describe the feature Currently `type: module` is missing in the `package.json`. This cause TypeScript to load the CJS code instead of ESM when `moduleResolution: Node16/NodeNext`. Addinge `type: module` would address this issue. ### Additional information - [X] Would you be willing to help implement this feature?
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]