From 06853a8e08e7c01e87bdec89ac1654fd7c3b93fe Mon Sep 17 00:00:00 2001 From: Jonatan Date: Tue, 8 Feb 2022 04:04:12 +0100 Subject: [PATCH] Update package.json: changed pattern "./" to "./*" (#135) * Update package.json: changed pattern "./" to "./*" On Angular when executes command 'ng build --prod': - Generating browser application bundles...(node:16716) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at {{APP_PATH}}\node_modules\tslib\package.json. Update this package.json to use a subpath pattern like "./*". (Use `node --trace-deprecation ...` to show where the warning was created) * Use both export map syntaxes to support older NodeJS Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Co-authored-by: Ron Buckton Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e528ac0..1f1d6f2 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "import": "./modules/index.js", "default": "./tslib.js" }, + "./*": "./*", "./": "./" } }