Answer the question
In order to leave comments, you need to log in
How to make webpack file-loader see and transfer images when using nunjucks?
There are 3 files,
main.njk
index.njk
and a twitter.svg image included in main.njk
The problem is that webpack does not see and does not transfer images when compiling to the dist/img folder.
webpack configuration
Perhaps I wrote crookedly, if it's not clear I'll try to describe it better)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question