We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 840ab3c + 49cd6a7 commit 430839dCopy full SHA for 430839d
scripts/build-js.mjs
@@ -126,6 +126,7 @@ plugins.push(
126
)
127
.replaceAll('require("fs/promises")', 'require("fs").promises')
128
.replaceAll('}).prototype', '}).prototype || {}')
129
+ .replace(/DISABLE_NODE_FETCH_NATIVE_WARN/, ($0) => `${$0} || true`)
130
.replace(
131
/\/\/ Annotate the CommonJS export names for ESM import in node:/,
132
($0) => `/* c8 ignore next 100 */\n${$0}`
0 commit comments