Skip to content

Commit

Permalink
Adds one more comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Oct 18, 2024
1 parent 7cc1e75 commit 3f6dca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Util/Require.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ async function dynamicImportAbsolutePath(absolutePath, type, returnRaw = false)
return JSON.parse(rawInput);
}

// returnRaw expects `{ default }`
if (!returnRaw) {
if (
(type === "cjs" && absolutePath.endsWith(".js")) ||
Expand Down

0 comments on commit 3f6dca4

Please sign in to comment.