Skip to content
New issue

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

Bug with loading images in css in devtools #192

Closed
sergeysova opened this issue Nov 18, 2015 · 1 comment
Closed

Bug with loading images in css in devtools #192

sergeysova opened this issue Nov 18, 2015 · 1 comment

Comments

@sergeysova
Copy link

I try:

# ./style.css
.searchBg {
  background-image: url(sprite/searchBg.jpg)
}
# ./component.js
import css from './style.css';

// begin component
  <div className={css.searchBg} />
// end component

What i see in chrome:
image

But image not loading to background.
When i click on "Open Link in new tab", link opens as:

image

@creeperyang
Copy link

@lestad See webpack-contrib/style-loader#55 for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants