在我的项目中,您引用的是另一个项目的模块,将我的项目上载到git时,引用不会增加,因此当我在另一个团队中克隆它时,找不到在tsconfig路径中引用的那些模块。如何将这些模块导入git?
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"paths": {
"@models/*": [
"../my-app/src/app/main/models/*"
]
},
"lib": [
"es2018",
"dom"
]
}
}