Skip to content

Files

Latest commit

a3760b2 · Jan 11, 2023

History

History
27 lines (20 loc) · 585 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 585 Bytes

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).