diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index a572bed5b..175ff9c21 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -135,7 +135,7 @@ export function _shouldIgnoreModule(exports: any) { return false; } - if (exports?.[uniqueSymbol]) { + if (exports[uniqueSymbol]) { return true; }