frankwallis / plugin-typescript

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

Typescript 'lib' compiler option support. #151

Closed aindlq closed 8 years ago

aindlq commented 8 years ago

Fixes https://github.com/frankwallis/plugin-typescript/issues/150. Adds support for typescript "lib" option.
Two tests related to rollup are failing, I'm not familiar with it so would be really great if someone could help me to fix them.

frankwallis commented 8 years ago

Thank you very much for doing this, I'm going to merge it, make a couple of tweaks and will sort the tests out. Thanks again!

frankwallis commented 8 years ago

Ok I have pushed 5.0.10 with 'lib' option support. I did have to make a few changes - historically this plugin has always defaulted to lib.es6.d.ts, as was the common use case and it needs to stay like that now to avoid breaking existing configuration. I also added a deprecation warning for the targetLib option which is no longer needed, but it will still be supported until a major change.

I really appreciate your efforts here, let me know if you find any issues with my changes, thanks.