未验证 提交 8c981920 编写于 作者: J JJ Kasper 提交者: GitHub

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

上级 9e22f066
......@@ -412,7 +412,7 @@ export default async function getBaseWebpackConfig(
/next-server[\\/]dist[\\/]lib/.test(path) ||
/next[\\/]dist[\\/]client/.test(path) ||
/next[\\/]dist[\\/]pages/.test(path) ||
/[\\/](strip-ansi|ansi-regex)[\\/]/
/[\\/](strip-ansi|ansi-regex)[\\/]/.test(path)
) {
return false
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册