-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch [email protected] for bundling issue
ref: vitejs/vite#15703
- Loading branch information
Showing
3 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,10 @@ | |
"@types/node": "^20.11.5", | ||
"typescript": "^5.3.3" | ||
}, | ||
"packageManager": "[email protected]+" | ||
"packageManager": "[email protected]+", | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/dist/node/chunks/dep-9A4-l-43.js b/dist/node/chunks/dep-9A4-l-43.js | ||
index 990f7c7945986bd26f0b9dac5794b28a235df1c7..3380081f11a88c1021c7f20d91a8f3ed7809fa16 100644 | ||
--- a/dist/node/chunks/dep-9A4-l-43.js | ||
+++ b/dist/node/chunks/dep-9A4-l-43.js | ||
@@ -38068,7 +38068,11 @@ function stripLiteralJsTokens(code, options) { | ||
} | ||
|
||
function stripLiteral(code, options) { | ||
- return stripLiteralDetailed(code, options).result; | ||
+ try { | ||
+ return stripLiteralDetailed(code, options).result; | ||
+ } catch { | ||
+ return code; | ||
+ } | ||
} | ||
function stripLiteralDetailed(code, options) { | ||
return stripLiteralJsTokens(code, options); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.