Andrej Leitner
Andrej Leitner
To decide what is the official way is probably up to you, I just vote for cleaner interface. One way instead of three seems better to me ... also for...
cc: @jonaskello
> What does your TypeScript transpilation setup look like? Do you transpile your TS migrations to JS before running them? Yep, I do (as it was necessary before the typescript...
Yes, it does. But it fails also if I remove `.js` files (exclude form TS compilation).
> IMO that PR should be rolled back and we should instead provide a way to configure which file extensions will be loaded & document how to use with ts-node....
Summoning also @WikiRik, @sdepold, @sushantdhiman as you are probably the last active contributor here and "_feat: support migrations files with ts file extension_" is not actually true.
> As for your issue, I think that if you remove the .ts files from your build output, and only keep the transpiled .js files there, it should work. Yep,...
I still transpile `.ts` to `.js` myself.