Skip to content

How to ignore specific url #538

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

Closed
Eugene-Kotovich-EPAM opened this issue May 23, 2017 · 9 comments
Closed

How to ignore specific url #538

Eugene-Kotovich-EPAM opened this issue May 23, 2017 · 9 comments

Comments

@Eugene-Kotovich-EPAM
Copy link

Hello. I want to know how to ignore specific url.
Using option url: false doesn't help, because it disable resolving of all url usage. Also the usage of / doesn't help.
Is it possible enable ignoring for specific path? Like below:

.some-class {
  background: url("../../specific-folder/some-image.png") // want to output url with specific-folder as is
}

Thanks.

@michael-ciniawsky
Copy link
Member

Nope sadly not sry

@Eugene-Kotovich-EPAM
Copy link
Author

@michael-ciniawsky Is there any solution how do it?

@alexander-akait
Copy link
Member

@alexander-akait
Copy link
Member

@Eugene-Kotovich-EPAM just use it's an absolute url or and protocol-relative for url and this url should be ignored

@michael-ciniawsky
Copy link
Member

@evilebottnawi url could accept an {Array}with paths to ignore and skip parsing them if matched (filter)

@michael-ciniawsky
Copy link
Member

Wouldn't be a bad idea at all

@alexander-akait
Copy link
Member

@michael-ciniawsky yep, i just said how it's possible in theory right now 😄

@Eugene-Kotovich-EPAM
Copy link
Author

@michael-ciniawsky It would be nice to support some ignore regexp options. Or add supporting of regexp for url option

@michael-ciniawsky
Copy link
Member

#655

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