Skip to content

Commit 511e0e7

Browse files
authored
Update child-require.ts (#1701)
1 parent 98f30e8 commit 511e0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/child/child-require.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (Array.isArray(_process._events.warning)) {
1414
_process._events.warning = onWarning;
1515
}
1616

17-
const messageMatch = /--(?:experimental-)?loader\b/;
17+
const messageMatch = /(?:--(?:experimental-)?loader\b|\bCustom ESM Loaders\b)/;
1818
function onWarning(this: any, warning: Error, ...rest: any[]) {
1919
// Suppress warning about how `--loader` is experimental
2020
if (

0 commit comments

Comments
 (0)