Ivo Gabe de Wolff
Ivo Gabe de Wolff
And `tsProject.src()` might need to be changed, to also load the JSON files.
I’ll try to take a look at this in the weekend.
I don't think this is related to #282, though it is somewhat related to #190. When that's implemented, these definition files are apart of the input stream and all files...
I guess that the problem is that we don't load JSON files in `tsProject.src()` and/or that we don't push `.json` files to the output streams (`tsResult.js` and the main stream...
Probably the issue is in `compiler.ts` then, here you can see that we don't push the json files to any output stream: https://github.com/ivogabe/gulp-typescript/blob/b01326a77347520f1a24a877e3305ae272a1b432/lib/compiler.ts#L154-L174
I've been thinking about adding a `resolve` method that can be used like this: ``` typescript return tsProject.src() .pipe(tsProject.resolve()) .pipe(ts(tsProject)) .pipe(gulp.dest('release')); ``` The resolve function would add the referenced &...
The separate resolve function is more flexible. You don't have to use `tsProject.src` but you can also use `gulp.src`, and you can add a preprocessor between resolving and compiling. The...
The issues with base paths and rootDir should be resolved with #276. Can you test it with that branch? ``` npm install ivogabe/gulp-typescript#tsconfig-files ``` This does not resolve files yet.
Hi Max, sorry for the delay. I think it's a good idea to change it like you propose. For the API, I'd like to also integrate the 'typescript' option (https://github.com/ivogabe/gulp-typescript/tree/d0410c2dc37cd4259689e4bc354a8ec68e779823#typescript-version)...
The first overload can be removed, as it is already handled by the last overload. You only need to mark the `settings` argument of that overload as optional: ```ts export...