Skip to content

Latest commit

 

History

History

gulp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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 if js is true.
  • Other Civet compiler options (e.g. js: true).