diff --git a/apps/web/webpack.config.ts b/apps/web/webpack.config.ts index e41abc28a0..56cce76ff1 100644 --- a/apps/web/webpack.config.ts +++ b/apps/web/webpack.config.ts @@ -508,6 +508,7 @@ export default (env: string, argv: Record): webpack.Configuration = { test: /\.svg$/, issuer: /\.(js|ts|jsx|tsx|html)$/, + resourceQuery: { not: [/raw/] }, use: [ { loader: "@svgr/webpack", @@ -622,7 +623,7 @@ export default (env: string, argv: Record): webpack.Configuration = }, ], }, - ].filter(Boolean), + ], }, plugins: [ @@ -761,7 +762,7 @@ export default (env: string, argv: Record): webpack.Configuration = retryDelay: 500, maxRetries: 3, }), - ].filter(Boolean), + ], output: { path: path.join(__dirname, "webapp"),