Allow setting more svgr options in @nx/rspack #29318
h3adache
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For
@nx/vite
you can very expressively set up svgr as documented herehttps://nx.dev/recipes/react/adding-assets-react#svgr-for-vite
(although it's done through by a 3rd party plugin)
In
@nx/rspack
there's a handy helper for it but it only allows for 3 options atmIt would be nice if this was expanded to add more options or at least expose the
configFile
property. ATM I have to manually add the rule just to enableexportType
.Beta Was this translation helpful? Give feedback.
All reactions