#Is it possible transform multiple TS files into a single TS file?

7 messages · Page 1 of 1 (latest)

sweet ether
#

I'm trying to experiment a little, would it be possible transform all the TS files into a single TS file before compiling?

frail skiff
#

Sounds like you want a bundler?

sweet ether
frail skiff
#

Ah, yeah I don't know any of top of my head.

signal granite
#

it's possible, but only when using certain module systems (None, System, or AMD)

#

but not for commonjs or esm

#

you'd need to use a bundler, as mentionned previously