frankwallis / plugin-typescript

TypeScript loader for SystemJS
MIT License
248 stars 47 forks source link

Exclude files to be type checked when transpiling in the browser #142

Closed lastmjs closed 8 years ago

lastmjs commented 8 years ago

The exclude property does not seem to be working when I provide a tsconfig.json file for transpiling in the browser. I can't seem to find information on how to exclude certain files from being type-checked in the browser.

aluanhaddad commented 8 years ago

Exclude isn't for excluding files from type checking it's for excluding them from compilation.

lastmjs commented 8 years ago

I see...is there a way to exclude files from being type-checked?

aluanhaddad commented 8 years ago

I don't believe so but #96 is very relevant here as it would allow for this as well as other functionality.

frankwallis commented 8 years ago

This is not currently possible, but yes #96 would enable you to turn on/off type-checking for specific packages. If you are interested in this feature then please add a comment to that thread outlining your use-case, thanks.