We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In production mode with built files they do show, however, and in the CSS in the browser dev tools the path looks the same.
The text was updated successfully, but these errors were encountered:
The image is not even loaded under the network tab. For clarity:
This works (incl/ BrowserSync port): url('http://localhost:5000/assets/img/image.png')
url('http://localhost:5000/assets/img/image.png')
However this does not: url('/assets/img/image.png')
url('/assets/img/image.png')
Sorry, something went wrong.
This is specifically caused by the source maps in Webpack, see (incl/ related): webpack-contrib/style-loader#55
This can be fixed by changing the following in webpack.config.js (no need to touch production config) under CSS loaders: style to style?fixUrls
webpack.config.js
style
style?fixUrls
And changing the npm dependency for style-loader to bendytree/style-loader (npm i -D bendytree/style-loader)
style-loader
bendytree/style-loader
npm i -D bendytree/style-loader
That's a fork of the project with the fixUrls query string implemented. Switch back to standard style-loader once it's fixed there.
60cd76a
No branches or pull requests
In production mode with built files they do show, however, and in the CSS in the browser dev tools the path looks the same.
The text was updated successfully, but these errors were encountered: