就是像webpack config里的resolve.alias这个配置resolve: { alias: { '@': resolve('src') }
1 回答
慕哥9229398
TA贡献1877条经验 获得超6个赞
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"paths": {
"@myproject/*": ["app/*"],
"testing/*": ["testing/*"]
}
}
添加回答
举报
0/150
提交
取消