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
Add option to blacklist paths #254
Comments
@IonicaBizau I'm don't think that is possible currently. Wouldn't be opposed to adding that, would just need to add some conditional logic around https://github.com/postcss/postcss-import/blob/master/index.js#L182. Won't have time to work on this in the near future, PR welcome. We should probably accept a string or regex; or an array of strings or regexes to match against. |
@RyanZim I did try to hack into the code and specifically I already tried to change that line, but it just didn't work... It was still replacing the I'd be happy to add it, but will need some guidance where that should be added... 😁 Thanks! |
Adding another |
It turns out that this tool is smart enough to know when it should inline the things and when not. Therefore a blacklist is not critical for me now. Still, it'll be nice to have in the future. |
Fixed in #327 |
Let's say I want to blacklist a specific url, which is added in the result, inlined, currently.
How can I do that?
The text was updated successfully, but these errors were encountered: