aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/path-posix.exports.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-05 18:00:13 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-05 18:07:41 -0700
commitca4c99b1bfa6488b36da11456e497f2e4bcd282d (patch)
tree7b65b2fedb42e89ea51a116ccd7c8df475eee42b /src/bun.js/path-posix.exports.js
parenta302549d3ea04e4bbe10e26ce13e06e496824cb1 (diff)
downloadbun-ca4c99b1bfa6488b36da11456e497f2e4bcd282d.tar.gz
bun-ca4c99b1bfa6488b36da11456e497f2e4bcd282d.tar.zst
bun-ca4c99b1bfa6488b36da11456e497f2e4bcd282d.zip
Fix interopRequireDefault issue with `path` :(
Diffstat (limited to 'src/bun.js/path-posix.exports.js')
-rw-r--r--src/bun.js/path-posix.exports.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/path-posix.exports.js b/src/bun.js/path-posix.exports.js
index b3f61c1a2..43630421a 100644
--- a/src/bun.js/path-posix.exports.js
+++ b/src/bun.js/path-posix.exports.js
@@ -16,6 +16,7 @@ function bound(obj) {
};
}
var path = bound(Bun._Path(false));
+path[Symbol.for("CommonJS")] = 0;
export var {
basename,