Merge pull request #26538 from StateFarmIns/fix-webpack-for-pnp-fun
Add watchOptions to frontend webpack config
This commit is contained in:
@@ -347,6 +347,13 @@ export async function createConfig(
|
||||
return {
|
||||
mode,
|
||||
profile: false,
|
||||
...(isDev
|
||||
? {
|
||||
watchOptions: {
|
||||
ignored: /node_modules/,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
optimization,
|
||||
bail: false,
|
||||
performance: {
|
||||
|
||||
Reference in New Issue
Block a user