fix: add watchOptions to frontend webpack config to fix issue with yarn pnp

Signed-off-by: vabf59 <thomas.triplett.vabf59@statefarm.com>
This commit is contained in:
vabf59
2024-09-06 09:32:53 -05:00
parent d76cc2974f
commit b5fd0a9f5e
+7
View File
@@ -347,6 +347,13 @@ export async function createConfig(
return {
mode,
profile: false,
...(isDev
? {
watchOptions: {
ignored: /node_modules\/(?!\@backstage)/,
},
}
: {}),
optimization,
bail: false,
performance: {