zont / gulp-usemin

MIT License
338 stars 92 forks source link

CSS attributes #199

Closed atomtigerzoo closed 6 years ago

atomtigerzoo commented 6 years ago

I am in need of adding - or just keeping them - attributes to my CSS link tags like so:

<link rel="stylesheet" data-name="value" href="styles.css">

Usemin overwrites the whole tag with its own version but I want to keep my attributes.

I know there is an option for adding attributes to JS tags, but what about CSS tags? Or why does usemin just keep all attributes on the tags?

zont commented 6 years ago

gulp-usemin is deprecated. Please dont use it. Use Rollup, Webpack, Browserify, Parcel and other