A
A
Andrew2020-08-16 17:04:41
webpack
Andrew, 2020-08-16 17:04:41

How to make webpack file-loader see and transfer images when using nunjucks?

There are 3 files,
main.njk 5f393b5a33cf3865221404.png
index.njk 5f393b776b425498532851.png
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 5f393c71ebdb1552508782.png

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 question

Ask a Question

731 491 924 answers to any question