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

Does not support quotes in urls in css #13

Closed
0xR opened this issue Mar 10, 2017 · 0 comments
Closed

Does not support quotes in urls in css #13

0xR opened this issue Mar 10, 2017 · 0 comments

Comments

@0xR
Copy link
Contributor

0xR commented Mar 10, 2017

Code like this is not supported:

  @font-face {
    font-family: "MyFont";
    src: url("MyFont.woff");
  }

It results in this error:

Module not found: Error: Can't resolve './"MyFont.woff"' in 'some/dir/on/machine'

Seems like a quick fix in processStyles.

0xR added a commit to 0xR/wc-loader that referenced this issue Mar 10, 2017
Fixes aruntk#13
Note that the regex was also updated to only have single quotes once between the '[]'.
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

1 participant