gulp-civet
v0.0.1
Published
Compile Civet files with Gulp
Downloads
3
Readme
gulp-civet
gulp-civet
compiles your Civet code
in a Gulp workflow
The code is based on gulp-coffee.
Usage
const civet = require('gulp-civet');
gulp.task('civet', () => {
gulp.src('./src/*.civet')
.pipe(civet({
extension: '.js',
js: true,
})
.pipe(gulp.dest('./dist'));
});
Options
extension
(optional): Output filename extension to use. Default:.civet.tsx
, or.civet.jsx
ifjs
is true.- Other Civet compiler options (e.g.
js: true
).