We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d1f0d8 commit 192413dCopy full SHA for 192413d
next.config.ts
@@ -6,7 +6,8 @@ const nextConfig: NextConfig = {
6
7
webpack(config) {
8
// Grab the existing rule that handles SVG imports
9
- const fileLoaderRule = config.module.rules.find((rule) =>
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
10
+ const fileLoaderRule = config.module.rules.find((rule: any) =>
11
rule.test?.test?.(".svg")
12
);
13
0 commit comments