Closed c01ns closed 1 year ago
Don't use tsc
- I've adopted https://github.com/cevek/ttypescript so I could move CModules to their own files (for syntax highlighting, code completion, code formatting...).
You need to call npm run prepare
instead (which is equivalent to npm exec ttsc
).
However yes, I forgot to append the .js
extension when importing those two files (I recently moved to ESM modules).
node verison
![image](https://user-images.githubusercontent.com/44087084/227754314-fb2b59b4-7c45-45e5-8d72-6f6249d04035.png)
npm run build![image](https://user-images.githubusercontent.com/44087084/227754300-efc76f91-dfee-4cf7-8a04-8df7dd02c82e.png)