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.spec.json | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/tsconfig.spec.json b/src/tsconfig.spec.json index 63d89ff..34d8bf6 100644 --- a/src/tsconfig.spec.json +++ b/src/tsconfig.spec.json @@ -8,7 +8,15 @@ "types": [ "jasmine", "node" - ] + ], + "paths": { + "@shared": [ "app/shared" ], + "@shared/*": [ "app/shared/*" ], + "@core": [ "app/core/" ], + "@core/*": [ "app/core/*" ], + "@business": [ "app/business/" ], + "@business/*": [ "app/business/*" ] + } }, "files": [ "test.ts" -- Gitblit v1.8.0