@ng-doc/add
Advanced tools
Comparing version 15.0.0-beta.9 to 15.0.0-beta.10
{ | ||
"name": "@ng-doc/add", | ||
"version": "15.0.0-beta.9", | ||
"version": "15.0.0-beta.10", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "schematics": "./schematics/collection.json", |
@@ -25,4 +25,4 @@ "use strict"; | ||
if (buildTarget) { | ||
const tsConfigPath = String(buildTarget.options && buildTarget.options['tsConfig']); | ||
updateTsConfigPaths(tree, tsConfigPath, options.project); | ||
const tsConfigPath = buildTarget.options && buildTarget.options['tsConfig']; | ||
tsConfigPath && updateTsConfigPaths(tree, String(tsConfigPath), options.project); | ||
} | ||
@@ -33,4 +33,4 @@ else { | ||
if (serveTarget) { | ||
const tsConfigPath = String(serveTarget.options && serveTarget.options['tsConfig']); | ||
updateTsConfigPaths(tree, tsConfigPath, options.project); | ||
const tsConfigPath = serveTarget.options && serveTarget.options['tsConfig']; | ||
tsConfigPath && updateTsConfigPaths(tree, String(tsConfigPath), options.project); | ||
} | ||
@@ -56,4 +56,4 @@ else { | ||
if (paths || !ext) { | ||
json.modify(['compilerOptions', 'paths', `${modules_1.GENERATED_PATH}`], `.ng-doc/${projectName}/index.ts`); | ||
json.modify(['compilerOptions', 'paths', `${modules_1.GENERATED_PATH}/*`], `.ng-doc/${projectName}/*`); | ||
json.modify(['compilerOptions', 'paths', `${modules_1.GENERATED_PATH}`], [`.ng-doc/${projectName}/index.ts`]); | ||
json.modify(['compilerOptions', 'paths', `${modules_1.GENERATED_PATH}/*`], [`.ng-doc/${projectName}/*`]); | ||
} | ||
@@ -60,0 +60,0 @@ else if (ext) { |
Sorry, the diff of this file is not supported yet
43701