-
-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
Description
Please, tell us how to recreate the issue in as much detail as possible.
- Create an nsconfig.json file in a random project. For example:
{
"appResourcesPath": "App_Resources",
"appPath": "src"
}
- Install
nativescript-dev-typescript
. - The plugin will create a new tsconfig or update your existing one with the following setting:
compilerOptions["paths"]["~/*"] = compilerOptions["paths"]["~/*"] || [
"app/*"
];
The code that does it is here -
nativescript-dev-typescript/tsconfig-upgrader.js
Lines 121 to 123 in 36a2bf7
compilerOptions["paths"]["~/*"] = compilerOptions["paths"]["~/*"] || [ | |
"app/*" | |
]; |
The path should be "src/*".