Skip to content

Commit 430839d

Browse files
authored
Merge branch 'main' into cli-export-is-main
2 parents 840ab3c + 49cd6a7 commit 430839d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build-js.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ plugins.push(
126126
)
127127
.replaceAll('require("fs/promises")', 'require("fs").promises')
128128
.replaceAll('}).prototype', '}).prototype || {}')
129+
.replace(/DISABLE_NODE_FETCH_NATIVE_WARN/, ($0) => `${$0} || true`)
129130
.replace(
130131
/\/\/ Annotate the CommonJS export names for ESM import in node:/,
131132
($0) => `/* c8 ignore next 100 */\n${$0}`

0 commit comments

Comments
 (0)