From ca4c99b1bfa6488b36da11456e497f2e4bcd282d Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Wed, 5 Oct 2022 18:00:13 -0700 Subject: Fix interopRequireDefault issue with `path` :( --- src/bun.js/path-posix.exports.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bun.js/path-posix.exports.js') 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, -- cgit v1.2.3