-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS15 Preview 5: --outFile option now includes normal JS files #11655
Comments
CC: @paulvanbrenk #11623 is not easy to repro (as it randomly happens time-wise) but I have succeeded making a repro small enough for this one. |
@mhegazy tagging zhengbli or zhenboli...? |
This is also a problem, we should include generated js files automatically. |
TS-generated JS files are automatically included. Normal JS files are not. |
@saschanaz, have you tried adding a tsconfig.json file? |
Can I try the fix on VS15 Preview 5? I tried this NuGet guide to get it but I still getting the same result. This is my change: saschanaz/TSFileInclusionRepro@cf7ba0b |
The fix is not included in the nuget package. It should be in a future release of VS "15". A tsconfig should avoid the issue though. |
TypeScript Version: 2.0.5.0, the version embedded on VS15 Preview 5
Repro file:
https://github.com/SaschaNaz/TSFileInclusionRepro/
Repro steps:
Add some change to ts/foo.ts to generate js/app.js automatically. For example, add
class Foo3 {}
.Expected behavior:
Compiler should include TS files only
Actual behavior:
Why are you including JS files on your project?:
Because they will be excluded from app package if I don't.
Why do you bother?
Because TS tries to parse my emscripten-compiled JS file and even WinJS libraries and thus slows down everything.
The text was updated successfully, but these errors were encountered: