You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show error when compiling external modules with -out or -outFile option #6514
This took me ages to get to the bottom of. no error messages to indicate I was doing something stupid just no output at all in the js file.
Suggest that an error message is displayed when we are compiling external modules with an invalid option like --out or --outFile
Hey, sorry about the frustration. Instead of giving an error, we decided to do the "right" thing. #5090 should fix this which you'll see in TypeScript 1.8.
Can you give the nightlies a try and let us know how it works out? Just run npm install -g typescript@next.
Activity
DanielRosenwasser commentedon Jan 16, 2016
Hey, sorry about the frustration. Instead of giving an error, we decided to do the "right" thing. #5090 should fix this which you'll see in TypeScript 1.8.
Can you give the nightlies a try and let us know how it works out? Just run
npm install -g typescript@next.basarat commentedon Jan 18, 2016
The user is using
commonjsbased on the stackoverflow tsconfig. Hence it will still not work (#5090 (comment)) and maybe should give an error 🌹Roaders commentedon Jan 18, 2016
That works fine in the nightlie. I get a message:
"Only 'amd' and 'system' modules are supported alongside --out"
Many thanks