From 3517e796f650b8aed52165c1a5905456f54033ef Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 10 Jan 2018 14:31:40 +0800 Subject: [PATCH] 项目路径 配置,以适应可能的框架更新 --- src/tsconfig.app.json | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/tsconfig.app.json b/src/tsconfig.app.json index 39ba8db..de2e6ef 100644 --- a/src/tsconfig.app.json +++ b/src/tsconfig.app.json @@ -4,7 +4,15 @@ "outDir": "../out-tsc/app", "baseUrl": "./", "module": "es2015", - "types": [] + "types": [], + "paths": { + "@shared": [ "app/shared" ], + "@shared/*": [ "app/shared/*" ], + "@core": [ "app/core/" ], + "@core/*": [ "app/core/*" ], + "@business": [ "app/business/" ], + "@business/*": [ "app/business/*" ] + } }, "exclude": [ "test.ts", -- Gitblit v1.8.0