-
I set up the svgr loader for all svg files, and it works fine in combination with file-loader, as the docs said. https://react-svgr.com/docs/webpack/#using-with-url-loader-or-file-loader However, since it will create a wrapper module for every svg file, it doesn't work together with I hope there will be a new property to detect the import type of that file. (e.g. |
Beta Was this translation helpful? Give feedback.
Answered by
sokra
Jan 5, 2021
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
latin-1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dependencyType: "url"
should do that in the rule