You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gunzip
I'm not sure about this one. The whole point of this plugin is not to work like useref and instead provide what i think is a better way of achieving this task. Plus what's the point in recreating some other library? If you need this particular syntax then why don't just use useref? Or if the syntax doesn't matter then why don't change it so gulp-html-replace can work with it? What's your use case?
To support parsing useref blocks ie.
<!-- build:css combined/style.css -->
regex could become:
var regex = /(\n?)([ \t]*)(<!--\s*build:(\w+(?:-\w+)*)\s+[^-]*\s*-->)\n?([\s\S]*?)\n?(<!--\s*endbuild\s*-->)\n?/ig;
I need html replacement to work aside useref.
The text was updated successfully, but these errors were encountered: