From dd3d5ca92a2a44bfa3a6061ecb6897a64cb0c40c Mon Sep 17 00:00:00 2001 From: frankwebdevelopment Date: Thu, 8 Jun 2023 21:53:03 +0200 Subject: [PATCH] chore: add paths for demo to tsconfig --- package.json | 1 - tsconfig.json | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3d2ed75..4560d7c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "@angular/platform-browser-dynamic": "^16.0.0", "@angular/router": "^16.0.0", "bootstrap": "4.5.2", - "ngx-timeago": "file:dist/ngx-timeago", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.13.0" diff --git a/tsconfig.json b/tsconfig.json index 3a9fa05..739db05 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,11 @@ "lib": [ "ES2022", "dom" - ] + ], + "paths": { + "ngx-timeago": [ "./dist/ngx-timeago" ], + "ngx-timeago/*": [ "./dist/ngx-timeago/*" ] + } }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false,