kant2002 / gulp-tsc

gulp.js plugin for compiling TypeScript files
MIT License
16 stars 11 forks source link

Change default options.module to null if options.target is ES6 #12

Closed chrisxue815 closed 9 years ago

chrisxue815 commented 9 years ago

Setting --module to "commonjs" when --target is "ES6" will trigger "error TS1204: Cannot compile external modules into amd or commonjs when targeting es6 or higher."

kant2002 commented 9 years ago

Do you have your issue resolved?

chrisxue815 commented 9 years ago

Yup, I created a new pull request here (https://github.com/kant2002/gulp-tsc/pull/13)