Merge pull request #26538 from StateFarmIns/fix-webpack-for-pnp-fun

Add watchOptions to frontend webpack config
This commit is contained in:
Patrik Oldsberg
2024-09-17 12:07:30 +02:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
+7
View File
@@ -347,6 +347,13 @@ export async function createConfig(
return {
mode,
profile: false,
...(isDev
? {
watchOptions: {
ignored: /node_modules/,
},
}
: {}),
optimization,
bail: false,
performance: {