Skip to content

VS15 Preview 5: --outFile option now includes normal JS files #11655

Closed
@saschanaz

Description

@saschanaz

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:

class Foo {
}
class Foo2 {
}
// Your code here!
var mainjs = "mainjs";
var somemodule = "somemodule";

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions