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
{{ message }}
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.
Hi,
we have a problem with files under /static/* directory. When we reference them in scss files they are not loaded. e.g. background-image: url('/me.jpg').
They are properly served by webserver. I can access localhost:3000/me.jpg and it works
They are properly copied to /dist/ directory when npm run deploy is run
They are not loaded/visible in development when referenced as /me.jpg in scss files but work when referenced as http://localhost:3000/me.jpg
How should we get them working in develoment mode?
I've been searching a bit more and it seems same as #696, maybe its because scss bundle is served from blob:http://... so image has wrong protocol...
The text was updated successfully, but these errors were encountered:
This problem also exists on a Mac. There is a workaround (webpack-contrib/style-loader#96 (comment)), but I'm haven't managed to get it to work with this starter-kit.
Hi,
we have a problem with files under /static/* directory. When we reference them in scss files they are not loaded. e.g.
background-image: url('/me.jpg')
.localhost:3000/me.jpg
and it works/dist/
directory whennpm run deploy
is run/me.jpg
in scss files but work when referenced ashttp://localhost:3000/me.jpg
How should we get them working in develoment mode?
I've been searching a bit more and it seems same as #696, maybe its because scss bundle is served from
blob:http://...
so image has wrong protocol...The text was updated successfully, but these errors were encountered: