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
Typescript version 2.1.0-dev.20161025 has require regression #11834
In past versions the compiler silently finished with a non-error return code (as there is no work to be done). This has been confusing to users who wounder why output files were not generated (see #11621 and #11156).
In #11743 we made this an error, so that users are aware that the compilation they ran was a no op.
Ah - I see. Thanks. I'll fix up our test pack to cater for that. I've just realised that this creates a small problem for ts-loader with regards our instance test. i.e. ts-loader was relying on the noop to not error. Now it will; I think we already have an issue raised around this:
Activity
mhegazy commentedon Oct 25, 2016
In https://github.com/TypeStrong/ts-loader/blob/master/test/execution-tests/simpleDependency/tsconfig.json#L4 the
fileslist is empty. this means no files are consumed by the compiler.In past versions the compiler silently finished with a non-error return code (as there is no work to be done). This has been confusing to users who wounder why output files were not generated (see #11621 and #11156).
In #11743 we made this an error, so that users are aware that the compilation they ran was a no op.
johnnyreilly commentedon Oct 25, 2016
Ah - I see. Thanks. I'll fix up our test pack to cater for that. I've just realised that this creates a small problem for ts-loader with regards our instance test. i.e. ts-loader was relying on the noop to not error. Now it will; I think we already have an issue raised around this:
TypeStrong/ts-loader#268
and possibly related:
TypeStrong/ts-loader#267