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

Improve: doesn't work with srcset #22

Open
bars3s opened this issue Nov 6, 2015 · 1 comment
Open

Improve: doesn't work with srcset #22

bars3s opened this issue Nov 6, 2015 · 1 comment

Comments

@bars3s
Copy link

bars3s commented Nov 6, 2015

Hi @OverZealous!

Found that cdnizer doesn't process srcset attributes. I think it will be very useful feature.

Thx!

@OverZealous
Copy link
Owner

Yeah, that definitely looks useful. That being said, that's a lot of work to integrate: the current design uses a RegExp-based replacement strategy that expects a (before)(url)(after) format, while srcsets are a comma-separated list of values, each of which has to be processed individually.

I'll see if I can find some time to add it in the near future.

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