Unverified Commit 8c981920 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix missing .test(path) in webpack-config (#7655)

parent 9e22f066
...@@ -412,7 +412,7 @@ export default async function getBaseWebpackConfig( ...@@ -412,7 +412,7 @@ export default async function getBaseWebpackConfig(
/next-server[\\/]dist[\\/]lib/.test(path) || /next-server[\\/]dist[\\/]lib/.test(path) ||
/next[\\/]dist[\\/]client/.test(path) || /next[\\/]dist[\\/]client/.test(path) ||
/next[\\/]dist[\\/]pages/.test(path) || /next[\\/]dist[\\/]pages/.test(path) ||
/[\\/](strip-ansi|ansi-regex)[\\/]/ /[\\/](strip-ansi|ansi-regex)[\\/]/.test(path)
) { ) {
return false return false
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment