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

a bug with RegExps #27

Open
gengxuelei opened this issue Mar 30, 2016 · 2 comments
Open

a bug with RegExps #27

gengxuelei opened this issue Mar 30, 2016 · 2 comments

Comments

@gengxuelei
Copy link

extensions: ['svg', 'png', /.jpg#datauri$/i],

'$' is wrong that should be removed url('a.png');

myconfig:
extensions:[/.(jpg|png)#base64/i]

@dobesv
Copy link

dobesv commented Feb 28, 2017

Can you give more information? What did you expect, and what did you get?

@gengxuelei
Copy link
Author

in README.md-->Example usage
the config "extensions: ['svg', 'png', /.jpg#datauri$/i]," can't match the file '.png'
but i now use webpack ,thinks for your lib

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

2 participants