You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to prepend my URLs in css with .. as the current URL that is being created is something like /assets/images/image1-hash as a result the image doesn't show up on the html page.
From #655 I understand that url option can also be a function and I tried implementing that way but the output didn't have the .. prepended. Is it something I am misunderstanding or I am implementing in a wrong way.
The text was updated successfully, but these errors were encountered:
whimsicaldreamer
changed the title
Prepending URLs with ".." to make them relative paths
Prepending URLs in CSS file with ".." to make them relative paths
May 29, 2018
I am trying to prepend my URLs in css with
..
as the current URL that is being created is something like/assets/images/image1-hash
as a result the image doesn't show up on the html page.The following is my
dist
folder structure:From #655 I understand that
url
option can also be a function and I tried implementing that way but the output didn't have the..
prepended. Is it something I am misunderstanding or I am implementing in a wrong way.Here is the gist to the whole config.
And here is the snippet of my webpack.config.js:
The text was updated successfully, but these errors were encountered: