Ladefuss
Ladefuss

Reputation: 82

Webpack 4 fileloader not moving images

As a webpack beginner i am using this https://github.com/vadimmarkov/webpack-es6-sass-boilerplate to learn to use webpack 4 but i haven't managed to get the fileloader working. My /images folder is simply not moved to the /build folder. Would anyone kindly help me fix this issue?

Webpack config

My filestructure

Upvotes: 0

Views: 65

Answers (1)

Richard Lovell
Richard Lovell

Reputation: 888

Are you using require/import for the the images in your Javascript? It will only include those.

Upvotes: 1

Related Questions