From 7f8bc74444b8ddf4ccf07c217b92b044e385de4a Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Mon, 14 May 2018 16:40:20 +0800 Subject: [PATCH] 优化 --- tsconfig.json | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index a6c016b..e961ded 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,19 @@ "lib": [ "es2017", "dom" - ] + ], + "baseUrl": "src/", + "paths": { + "@shared": [ "app/shared" ], + "@shared/*": [ "app/shared/*" ], + "@core": [ "app/core/" ], + "@core/*": [ "app/core/*" ], + "@testing": [ "testing/" ], + "@testing/*": [ "testing/*" ], + "@env": [ "environments/" ], + "@env/*": [ "environments/*" ], + "@business": [ "app/business" ], + "@business/*": [ "app/business/*" ] + } } } -- Gitblit v1.8.0