Only 'amd' and 'system' modules are supported alongside --out
It means what it says. You can’t use --out
/--outFile
to bundle modules together for Node.js/CommonJS, since there is no bundle format for CommonJS. Simply don’t use that option for CommonJS and corresponding JS files will be emitted for each input TS module file.