From fc567bcf7933b0cc87a7b390cb57dfdf3cbb1d6a Mon Sep 17 00:00:00 2001 From: Ryan Clements Date: Wed, 22 Feb 2023 10:46:29 -0500 Subject: [PATCH] fix(build): remove tslib Remove tslib from the dependencies and remove it from build output --- package.json | 1 - tsconfig.json | 2 +- yarn.lock | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b6c21dc..aa31d9f 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,6 @@ "stylelint-prettier": "^2.0.0", "tailwindcss": "^3.2.7", "ts-jest": "^29.0.5", - "tslib": "^2.5.0", "typescript": "^4.9.5" }, "peerDependencies": { diff --git a/tsconfig.json b/tsconfig.json index 44b08f2..fd8bc9d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -52,7 +52,7 @@ "outDir": "lib" /* Specify an output folder for all emitted files. */, // "removeComments": true, /* Disable emitting comments. */ // "noEmit": true, /* Disable emitting files from a compilation. */ - "importHelpers": true /* Allow importing helper functions from tslib once per project, instead of including them per-file. */, + // "importHelpers": false /* Allow importing helper functions from tslib once per project, instead of including them per-file. */, // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types */ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ diff --git a/yarn.lock b/yarn.lock index 40ff2b5..f8172dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6484,7 +6484,7 @@ tslib@^1.8.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.1.0, tslib@^2.5.0: +tslib@^2.1.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==