gulp-compile-js

0.0.3 • Public • Published

gulp-compile-js

Gulp plugin to compile a file into a JavaScript representation.

Currently supports (just submit a pull request to add more):

  • CoffeeScript
  • Jade
  • Stylus
gulp = require 'gulp'
compile = require 'gulp-compile-js'
concat = require 'gulp-concat'

gulp.task 'build', ->
  gulp.src('./lib/**/*')
    .pipe(compile({coffee: {bare: true}, jade: {client: true}}))
    .pipe(concat('your-js-library.js'))
    .pipe(gulp.dest('./dist/'))

Dependents (0)

Package Sidebar

Install

npm i gulp-compile-js

Weekly Downloads

8

Version

0.0.3

License

MIT

Last publish

Collaborators

  • kmalakoff