Skip to content

Commit

Permalink
chore: add workaround for tslib / jiti incompatibility
Browse files Browse the repository at this point in the history
Workaround until microsoft/tslib#171 is merged
  • Loading branch information
tobiasdiez committed Oct 26, 2022
1 parent a15558f commit a32d91e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 11 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,10 @@
"standard-version": "^9.5.0",
"typescript": "^4.8.4"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
}
}
13 changes: 13 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/package.json b/package.json
index 0ec2c634b2b67a3ce12d8a795efc333d8e5d3dcd..457ac03cf8d0d2e42810c06ae64198ce9e825e13 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,7 @@
"exports": {
".": {
"module": "./tslib.es6.js",
- "import": "./modules/index.js",
+ "import": "./tslib.es6.js",
"default": "./tslib.js"
},
"./*": "./*",
26 changes: 16 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a32d91e

Please sign in to comment.