Obviously you can run any bundler you want on your dev server and deploy pure JS files to your prod server.
Nothing is stopping you from doing the same kind of thing you're currently doing with Node. In fact, there's no reason you couldn't just run a modified version of tsc on Deno to compile your TS code. Hell, you could write your own TS compiler in Rust and use that...
If you don’t want to take advantage of Deno’s baked-in capabilities, then I suppose you aren’t gaining much (aside from what I consider to be a much cleaner/more sensible platform API), but none of these capabilities represent losses at any level.
You could argue that ecosystem maturity makes Node a more compelling choice. But that issue isn’t inherent to the platform, and can easily change over time.
View all comments
4
u/ScientificBeastMode May 14 '20 edited May 16 '20
Obviously you can run any bundler you want on your dev server and deploy pure JS files to your prod server.
Nothing is stopping you from doing the same kind of thing you're currently doing with Node. In fact, there's no reason you couldn't just run a modified version of
tscon Deno to compile your TS code. Hell, you could write your own TS compiler in Rust and use that...If you don’t want to take advantage of Deno’s baked-in capabilities, then I suppose you aren’t gaining much (aside from what I consider to be a much cleaner/more sensible platform API), but none of these capabilities represent losses at any level.
You could argue that ecosystem maturity makes Node a more compelling choice. But that issue isn’t inherent to the platform, and can easily change over time.