Skip to content

Commit 4871f25

Browse files
committed
fix(postinstall): upgrader respects existing tsconfig paths
fixes #32
1 parent 85efa91 commit 4871f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig-upgrader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function addTnsCoreModulesPathMappings(existingConfig, displayableTsconfigPath,
118118
var compilerOptions = existingConfig["compilerOptions"];
119119
compilerOptions["baseUrl"] = ".";
120120
compilerOptions["paths"] = compilerOptions["paths"] || {};
121-
compilerOptions["paths"]["*"] = [
121+
compilerOptions["paths"]["*"] = compilerOptions["paths"]["*"] || [
122122
"./node_modules/tns-core-modules/*",
123123
"./node_modules/*"
124124
];

0 commit comments

Comments
 (0)