Skip to content

Commit

Permalink
Merge branch 'TypeStrong:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmaster2000 committed Mar 30, 2022
2 parents 1723c56 + 511e0e7 commit be25469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/child/child-require.ts
Expand Up @@ -14,7 +14,7 @@ if (Array.isArray(_process._events.warning)) {
_process._events.warning = onWarning;
}

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

0 comments on commit be25469

Please sign in to comment.