Replies: 1 comment
-
Hello, a similar discussion here: #65360 There is no solution yet. A workaround is here: vercel/turborepo#4832 (comment) experimental: {
turbo: {
rules: {
'*.inline.svg': { // only SVG finishing with .inline.svg will be exposed as components
loaders: ['@svgr/webpack'],
as: '*.js',
},
},
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
To use SVG as Conponent with Turbopack and @svgr/webpack we need this config
but how to use SVG as url along with Component? e.g importing with query
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions