We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can set custom typescript compiler eg:
var tsProject = ts.createProject('tsconfig.json', { typescript: require('requireg')('typescript') });
When using defaultReporter and nullReporter compilation is working fine.
When you switch to the longReporter or fullReporter the custom typescript compiler is not used any more.
Full example of gulpfile:
var gulp = require('gulp'); var ts = require('gulp-typescript'); var sourcemaps = require('gulp-sourcemaps'); var tsProject = ts.createProject('tsconfig.json', { typescript: require('requireg')('typescript') }); gulp.task('default', ['build']); gulp.task('build', function () { var tsResult = tsProject.src() .pipe(tsProject( ts.reporter.longReporter() )); return tsResult; });
The problem is how the typescript is required in longReporter and fullReporter, eg.:
function longReporter() { var typescript = require('typescript'); ....
The text was updated successfully, but these errors were encountered:
4abf041
No branches or pull requests
I can set custom typescript compiler eg:
When using defaultReporter and nullReporter compilation is working fine.
When you switch to the longReporter or fullReporter the custom typescript compiler is not used any more.
Full example of gulpfile:
The problem is how the typescript is required in longReporter and fullReporter, eg.:
The text was updated successfully, but these errors were encountered: