Simple gulp plugin. It creates manifest.json based on style.css. Another alternative to grunt-wp-rev for roots.
Still in learning process.
Export to your node_modules
folder.
And add to your gulpfile.js
:
var wpAssets = require("gulp-wp-assets");
gulp.task('styles', function() {
gulp.src('assets/css/style.min.css')
.pipe(wpAssets({
destination: 'assets/',
cssHandle: 'roots_css',
log: true
}))
.pipe(gulp.dest('assets/css'));
});