gulp-civet

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i gulp-civet

Weekly Downloads

76

Version

0.0.1

License

MIT

Unpacked Size

5.26 kB

Total Files

5

Last publish

Collaborators

  • edemaine