From 9d8e250d885064a07fd3775d397b3221a123b4e4 Mon Sep 17 00:00:00 2001 From: Vlad Tansky Date: Sat, 18 Nov 2023 17:01:56 +0200 Subject: [PATCH] docs: nextjs setup --- website/pages/docs/next.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/docs/next.mdx b/website/pages/docs/next.mdx index fb8f01fc..178b4703 100644 --- a/website/pages/docs/next.mdx +++ b/website/pages/docs/next.mdx @@ -43,7 +43,7 @@ module.exports = { // Convert all other *.svg imports to React components { test: /\.svg$/i, - issuer: /\.[jt]sx?$/, + issuer: fileLoaderRule.issuer, resourceQuery: { not: [...fileLoaderRule.resourceQuery.not, /url/] }, // exclude if *.svg?url use: ['@svgr/webpack'], },