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