Comparing version 2.0.1 to 2.0.2
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -7,2 +7,3 @@ /// <reference path="../node_modules/typescript/lib/lib.es6.d.ts"/> | ||
var fs_1 = require('fs'); | ||
var path_1 = require('path'); | ||
// We actually only want to read the tsconfig.json file. So all methods | ||
@@ -27,3 +28,3 @@ // to read the FS are 'empty' implementations. | ||
var parsed = ts.readConfigFile(configOrName, _parseConfigHost.readFile); | ||
options = ts.parseJsonConfigFileContent(parsed.config, _parseConfigHost, __dirname).options; | ||
options = ts.parseJsonConfigFileContent(parsed.config, _parseConfigHost, path_1.dirname(configOrName)).options; | ||
if (parsed.error) { | ||
@@ -35,3 +36,3 @@ console.error(parsed.error); | ||
else { | ||
options = ts.parseJsonConfigFileContent({ compilerOptions: configOrName }, _parseConfigHost, __dirname).options; | ||
options = ts.parseJsonConfigFileContent({ compilerOptions: configOrName }, _parseConfigHost, './').options; | ||
Object.assign(config, configOrName); | ||
@@ -38,0 +39,0 @@ } |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
{ | ||
"name": "gulp-tsb", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"author": "Johannes Rieken <johannes.rieken@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "A gulp plugin for very fast TypeScript compilation.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
743
34719