Skip to content

Commit

Permalink
docs: next.js instructions (#898)
Browse files Browse the repository at this point in the history
Fixed next.config.js example to a working version per this:
#860 (comment)

Co-authored-by: Jari Mustonen <jari@itsellesi.fi>
  • Loading branch information
jarimustonen and Jari Mustonen committed Nov 18, 2023
1 parent 2031df4 commit b0aef6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/pages/docs/next.mdx
Expand Up @@ -44,7 +44,7 @@ module.exports = {
{
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
resourceQuery: { not: /url/ }, // exclude if *.svg?url
resourceQuery: { not: [...fileLoaderRule.resourceQuery.not, /url/] }, // exclude if *.svg?url
use: ['@svgr/webpack'],
},
)
Expand Down

1 comment on commit b0aef6e

@vercel
Copy link

@vercel vercel bot commented on b0aef6e Nov 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svgr – ./

api.react-svgr.com
svgr-git-main-gregberge.vercel.app
svgr-gregberge.vercel.app

Please sign in to comment.