Closed ThetaSinner closed 4 months ago
My IDE thought (wrongly) that because the project uses TypeScript, that dir imports are valid. They are not once the library is built and running as a JS dependency!
I've updated CI with a check that would have caught this mistake.
Right, yes, with ES modules, importing the .js file is the universal way for JS and TS.
My IDE thought (wrongly) that because the project uses TypeScript, that dir imports are valid. They are not once the library is built and running as a JS dependency!
I've updated CI with a check that would have caught this mistake.