Skip to content

Commit 364ff65

Browse files
committed
chore: add workaround for tslib / jiti incompatibility
Workaround until microsoft/tslib#171 is merged
1 parent 4611990 commit 364ff65

File tree

3 files changed

+35
-11
lines changed

3 files changed

+35
-11
lines changed

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,10 @@
4949
"standard-version": "^9.5.0",
5050
"typescript": "^4.8.4"
5151
},
52-
"packageManager": "pnpm@7.14.0"
52+
"packageManager": "pnpm@7.14.0",
53+
"pnpm": {
54+
"patchedDependencies": {
55+
"tslib@2.4.0": "patches/tslib@2.4.0.patch"
56+
}
57+
}
5358
}

patches/tslib@2.4.0.patch

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/package.json b/package.json
2+
index 0ec2c634b2b67a3ce12d8a795efc333d8e5d3dcd..457ac03cf8d0d2e42810c06ae64198ce9e825e13 100644
3+
--- a/package.json
4+
+++ b/package.json
5+
@@ -29,7 +29,7 @@
6+
"exports": {
7+
".": {
8+
"module": "./tslib.es6.js",
9+
- "import": "./modules/index.js",
10+
+ "import": "./tslib.es6.js",
11+
"default": "./tslib.js"
12+
},
13+
"./*": "./*",

pnpm-lock.yaml

+16-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)