Questions tagged [resolve-url-loader]

22 questions
1
vote
1 answer

Webpack - resolve-url-loader does not resolve paths correctly

I have a problem with setting up resolve-url-loader correctly in my webpack config. It does not seem to resolve paths in scss files at all. Here is my project folder structure: ├───config │ └───jest ├───public │ └───assets │ ├───css │ …
1
vote
2 answers

webpack sass-loader won't resolve urls

While css files resolve just fine, in scss it simply won't resolve. Does anyone knows the solution? Sass-loader tells me to use 'resolve-url-loader', but I can't make it work. Im trying to add font-awesome. If i use the css version it works just…
grcoder
  • 324
  • 5
  • 17
1
vote
1 answer

How to fix webpack resolve-url-loader not working?

Resolve-url-loader is not resolving images/fonts in my css files. My folder structure is like this: src public images -banner-bg.jpg stylesheets css -basic.css with background:…
enhancedJack
  • 265
  • 1
  • 6
  • 15
1
vote
2 answers

Module build failed from Sass-Loader when setting up Material UI kit React

My environment I've got an RoR app setup with React Native. I use rails server and webpack for my development environment. attempt to add UI library I added the material ui files as required in the docs to my ReactJS app. My problem When running my…
Salman
  • 1,109
  • 3
  • 25
  • 55
0
votes
0 answers

Module parse failed: Unexpected character '@' with resolve-url-loader

I've been trying for a while to adjust my webpack configuration to load SVG's that are defined as background in a .scss. So far I always had the problem that the path of the .svg could not be found. Resolve-url-loader should fix this problem if I…
bnexd
  • 161
  • 4
  • 13
0
votes
1 answer

Resolve url() to image without bundling

I'm integrating Webpack into an already established front-end environment. Sass and resolve-url-loader are working and Webpack finds the files that are referenced by the url() in the CSS. My problem is, I don't want to copy the files referenced by…
0
votes
2 answers

webpack 2 How to apply modification to webpack config

My webpack config files are generated by vue-cli.. I need to apply the following modification which was written for webpack 1 I guess , to add the resolve-url-loader. (see resolve-url-loader Apply via webpack config It is preferable to adjust your…
user762579
1
2