gulp-style-inject
style-inject plugin for gulp
Usage
First, install gulp-style-inject
as a development dependency:
npm install --save-dev gulp-style-inject
Then, add it to your gulpfile.js
:
var styleInject = ; gulp ;
All your html files should include the following tag:
<!-- inject-style src="./path/file.css" -->
Example:
<!-- inject-style src="./test/p.css" --><!-- inject-style src="./test/span.css" --> Some text Some other text
Output
Some text Some other text