未验证 提交 8a8ef641 编写于 作者: T Tim Neutkens 提交者: GitHub

Update ignored patterns for webpack 4 (#15096)

Found while working on figuring out this bug: https://twitter.com/timneutkens/status/1282129714627448832

 I noticed that the node_modules got passed by the ignore still because when chokidar identifies a ignore pattern is a glob it treats the glob as-is instead of appending `/**` to the glob
上级 98dbbcfd
......@@ -711,7 +711,7 @@ export default async function getBaseWebpackConfig(
}
},
watchOptions: {
ignored: ['**/.git', '**/node_modules'],
ignored: ['**/.git/**', '**/node_modules/**', '**/.next/**'],
},
output: {
path: outputPath,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册