Closed phtwo closed 6 years ago
It takes a string, but I'm not sure what will work for CSS files. I didn't know that was an issue.
@jonkemp yes
JS files use ';'
and skip CSS files. This is what I want.
Ah I see.
There are currently 2 pull requests open that would meet the requirements here. Mine basically just meets the requirements of "js files get the newline and CSS files do not".
The other one uses options to let you specify which file extensions get skipped.
Can we get some feedback on these? I think my change is fine but I don't want to break everybody's builds since the option has been there a long time.
Fixed here https://github.com/jonkemp/gulp-useref/pull/249.
Thanks to @lfurzewaddock for much help in closing this.
ep:
';'
it work in js , but cannot be used for css files