Skip to content

Importing all SVGs from a folder #703

Answered by gregberge
RyKilleen asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @RyKilleen, with @svgr/webpack I am afraid it is not possible, maybe with full dynamic import but it will be asynchronous.

Give a look to https://webpack.js.org/guides/dependency-management/#requirecontext

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by RyKilleen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants