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

Can't find background: url file if it has a trailing space #237

Closed
joshunger opened this issue Feb 25, 2016 · 2 comments
Closed

Can't find background: url file if it has a trailing space #237

joshunger opened this issue Feb 25, 2016 · 2 comments

Comments

@joshunger
Copy link

css-loader cannot find the background url file if it has a trailing space.

For example -

#trailing-space
{
  background: url(css-trailing-space.png );
}

Produces the following error -

ERROR in ./~/css-loader!./css-leading-space.css
Module not found: Error: Cannot resolve 'file' or 'directory' ./css-trailing-space.png  in /Users/junger/css-trailing-space
 @ ./~/css-loader!./css-leading-space.css 6:68-104

Leading space appears to be trimmed correctly.

@alexander-akait
Copy link
Member

/cc @michael-ciniawsky close 😄 Just a reminder, I apologize if I'm very quick and distracting 😄

@michael-ciniawsky
Copy link
Member

ohh.. 😟 No worries appreciated, I thought I closed all issues related to the PR(s), but I should better double check next time 😛

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

No branches or pull requests

5 participants