gulp-tsconfig-update
Advanced tools
Comparing version 1.0.8-0 to 1.0.8-1
@@ -47,3 +47,3 @@ ///<reference path="../typings/bundle.d.ts"/> | ||
tsConfig.files = tsFiles.map(function (file) { | ||
return file.path.replace(file.cwd, ".").replace("\\", "/"); | ||
return file.path.replace(file.cwd, ".").replace(/\\/g, "/"); | ||
}); | ||
@@ -50,0 +50,0 @@ fs.writeFileSync(tsConfigPath, JSON.stringify(tsConfig, null, 4), "utf-8"); |
{ | ||
"name": "gulp-tsconfig-update", | ||
"version": "1.0.8-0", | ||
"version": "1.0.8-1", | ||
"description": "A gulp plugin to update `files` property in tsconfig.json by `gulp.src`.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -60,3 +60,3 @@ ///<reference path="../typings/bundle.d.ts"/> | ||
tsConfig.files = tsFiles.map((file)=> { | ||
return file.path.replace(file.cwd, ".").replace("\\", "/"); | ||
return file.path.replace(file.cwd, ".").replace(/\\/g,"/"); | ||
}); | ||
@@ -63,0 +63,0 @@ fs.writeFileSync(tsConfigPath, JSON.stringify(tsConfig, null, 4), "utf-8"); |
Sorry, the diff of this file is not supported yet
8967