const typescript = require('gulp-typescript');
function createTsProject(config) {
return typescript.createProject(config);
}
var stream = gulp.src(MY_path + '/src')
.pipe(createTsProject(TYPESCRIPT_CONFIG));
node_modules packages contain typings and modules from src folder are consuming them. Since lot of the typings use older Typescript version and contain deprecated syntax, I'm getting a lot of errors from gulp-typescript.
In my case the deprecated node_modules is not easy to replace with newer ones, for several reasons.
Is there an option to ignore the errors from node_modules and have successful build?
I have a project structure like this:
Here's the simplified code for using the plugin.
node_modules
packages contain typings and modules fromsrc
folder are consuming them. Since lot of the typings use older Typescript version and contain deprecated syntax, I'm getting a lot of errors from gulp-typescript. In my case the deprecated node_modules is not easy to replace with newer ones, for several reasons.Is there an option to ignore the errors from node_modules and have successful build?