diff --git a/configs/webpack-config-compass/src/index.ts b/configs/webpack-config-compass/src/index.ts index 59d6065e9ea..ecd27d9562e 100644 --- a/configs/webpack-config-compass/src/index.ts +++ b/configs/webpack-config-compass/src/index.ts @@ -48,6 +48,8 @@ const sharedIgnoreWarnings: NonNullable = [ // Optional, comes from emotion trying to (safely) use react apis that we // don't have in React 17 /export 'useInsertionEffect'/, + // Source map format that webpack can't resolve + /Failed to parse source map: 'umd:/, ]; const sharedResolveOptions = (