@eliawk it was a small thing that was wrong. In order for resolve-url-loader to work, we needed to be using relative urls. Previously, we had absolute urls (e.g. /public/img/<filename>svg). The reason it was working in the demo is because these were valid urls to be loaded by the browser. The demo app was not using data urls at all (but it is now and so is paratii-player!).
To fix this, I moved the images in to the src directory and reference them in .scss files via a relative url import. Now this gets picked up by the loaders and works.
I also removed the public/ dir from the build process as it is no longer being used for anything.
@eliawk it was a small thing that was wrong. In order for
resolve-url-loader
to work, we needed to be using relative urls. Previously, we had absolute urls (e.g./public/img/<filename>svg
). The reason it was working in the demo is because these were valid urls to be loaded by the browser. The demo app was not using data urls at all (but it is now and so isparatii-player
!).To fix this, I moved the images in to the
src
directory and reference them in.scss
files via a relative url import. Now this gets picked up by the loaders and works.I also removed the
public/
dir from the build process as it is no longer being used for anything.