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

Resolving import url fails on Windows #8

Closed
yutahaga opened this issue Aug 11, 2018 · 4 comments
Closed

Resolving import url fails on Windows #8

yutahaga opened this issue Aug 11, 2018 · 4 comments

Comments

@yutahaga
Copy link

In CSS, only POSIX path (../../foo) is allowed. But on Windows, Windows path (..\..\foo) is inserted in CSS, and so resolving import url fails.

@yenshih
Copy link
Owner

yenshih commented Aug 11, 2018

Thanks for reporting! It's probably a bug.

@yenshih
Copy link
Owner

yenshih commented Aug 11, 2018

Indeed, I plan to rewrite that resolveImportUrl function completely in next minor version, since regular expression is so hard to test and maintain, and may cause a number of bugs.
Thank you so much!

@yenshih
Copy link
Owner

yenshih commented Aug 11, 2018

I've just published v1.2.1 to fix this bug. @yutahaga

@yutahaga
Copy link
Author

@yenshih Thank you for quick response!
It worked fine on my Windows machine.

@yenshih yenshih closed this as completed Aug 11, 2018
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

2 participants