From 94e6ca608b417da5eb051d1c5e94c31388da9369 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Thu, 12 Jul 2018 10:15:36 +0800 Subject: [PATCH] token 完善 --- src/tsconfig.app.json | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/tsconfig.app.json b/src/tsconfig.app.json index 39ba8db..29f6da9 100644 --- a/src/tsconfig.app.json +++ b/src/tsconfig.app.json @@ -4,7 +4,13 @@ "outDir": "../out-tsc/app", "baseUrl": "./", "module": "es2015", - "types": [] + "types": [], + "paths": { + "@shared": [ "app/shared" ], + "@shared/*": [ "app/shared/*" ], + "@core": [ "app/core/" ], + "@core/*": [ "app/core/*" ] + } }, "exclude": [ "test.ts", -- Gitblit v1.8.0