mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
chore: patch tsup
This commit is contained in:
22
.yarn/patches/tsup-npm-6.7.0-5093540b93.patch
Normal file
22
.yarn/patches/tsup-npm-6.7.0-5093540b93.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff --git a/dist/index.js b/dist/index.js
|
||||
index 9c71a74b4dd0280cb9480d43305f6b5ffbe91d8d..f67f125eebb770169ead49196a78e3211b5dd10a 100644
|
||||
--- a/dist/index.js
|
||||
+++ b/dist/index.js
|
||||
@@ -1215,7 +1214,7 @@ var nodeProtocolPlugin = () => {
|
||||
|
||||
// src/esbuild/external.ts
|
||||
|
||||
-var NON_NODE_MODULE_RE = /^[^.\/]|^\.[^.\/]|^\.\.[^\/]/;
|
||||
+var NON_NODE_MODULE_RE = /^[A-Z]:[\\\/]|^\.{0,2}[\/]|^\.{1,2}$/;
|
||||
var externalPlugin = ({
|
||||
external,
|
||||
noExternal,
|
||||
@@ -1239,7 +1238,7 @@ var externalPlugin = ({
|
||||
if (_bundlerequire.match.call(void 0, args.path, external)) {
|
||||
return { external: true };
|
||||
}
|
||||
- if (NON_NODE_MODULE_RE.test(args.path)) {
|
||||
+ if (!NON_NODE_MODULE_RE.test(args.path)) {
|
||||
return {
|
||||
path: args.path,
|
||||
external: true
|
||||
Reference in New Issue
Block a user