From de40e2304ecfe47ac51bf40992e74c7ec4357fe5 Mon Sep 17 00:00:00 2001 From: Lexus Drumgold Date: Sat, 30 Oct 2021 16:28:14 -0400 Subject: [PATCH] fix(cjs): missing named exports - https://github.com/microsoft/TypeScript/issues/45813 - https://github.com/guybedford/cjs-module-lexer/issues/63 --- package.json | 3 +-- tsconfig.prod.cjs.json | 2 +- yarn.lock | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2ff8756..5d56204 100644 --- a/package.json +++ b/package.json @@ -107,8 +107,7 @@ "@types/chalk": "2.2.0", "chalk": "4.1.2", "figures": "3.2.0", - "lodash.merge": "4.6.2", - "tslib": "2.3.1" + "lodash.merge": "4.6.2" }, "devDependencies": { "@babel/core": "7.15.8", diff --git a/tsconfig.prod.cjs.json b/tsconfig.prod.cjs.json index c7aedb4..8a7c13b 100644 --- a/tsconfig.prod.cjs.json +++ b/tsconfig.prod.cjs.json @@ -1,7 +1,7 @@ { "compilerOptions": { "downlevelIteration": true, - "importHelpers": true, + "importHelpers": false, "module": "commonjs", "outDir": "./cjs", "target": "es5" diff --git a/yarn.lock b/yarn.lock index f262d63..da74514 100644 --- a/yarn.lock +++ b/yarn.lock @@ -824,7 +824,6 @@ __metadata: tsc-prog: 2.2.1 tsconfig: 7.0.0 tsconfig-paths: 3.11.0 - tslib: 2.3.1 typescript: 4.5.0-beta yargs: 17.2.1 peerDependencies: