You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
philkunz
changed the title
parcel incompatible with new node12 and nodenext typescript module resolution modes
TypeScript: parcel incompatible with new node12 and nodenext typescript module resolution modes
Mar 15, 2022
🐛 bug report
parcel seems to be incompatible with the new moduleResolution modes of TypeScript.
In TypeScript with module-resolution mode "node12" you can write
import MyDefaultExport from './myfile.js'
and it will resolve to ./myfile.tsThis does not work currently.
The reasoning is explained here: https://www.typescriptlang.org/docs/handbook/esm-node.html
🤔 Expected Behavior
Should simply resolve to .ts file
😯 Current Behavior
File is not found
The text was updated successfully, but these errors were encountered: