gulp-js2css
Preprocess JS to CSS using js2css
https://github.com/sjurba/js2css
Install
$ npm install --save-dev gulp-js2css
Usage
var gulp = require('gulp');
var js2css = require('gulp-js2css');
gulp.task('default', function () {
return gulp.src('src/file.ext')
.pipe(js2css())
.pipe(gulp.dest('dist'));
});
API
js2css(options)
options
License
MIT © Sjur Bakka