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 Jun 3, 2019. It is now read-only.
The gist of the issue is that when source maps are enabled its not possible to do
background: url('/my/img.jpg')
as URLs are relative to dev server. When I turn off source maps it works as people have also experienced.
At the end of the thread is a potential suggestion but it requires no publicPath to be set. I bring this to your attention in case it's an obvious fix for you.
The text was updated successfully, but these errors were encountered:
As far as I know (and I could very well be mistaken) public path is required for SSR usage. The public path needs to be there and absolute (http://localhost:3000/client/) so that Webpack is able to serve the files during development.
I am almost certain I have done something similar and have not experienced the same issue, but let me try this out again. It's helpful to have that issue link thanks.
Please see this thread webpack-contrib/style-loader#96
The gist of the issue is that when source maps are enabled its not possible to do
as URLs are relative to dev server. When I turn off source maps it works as people have also experienced.
At the end of the thread is a potential suggestion but it requires no publicPath to be set. I bring this to your attention in case it's an obvious fix for you.
The text was updated successfully, but these errors were encountered: