gulp-compile-js
Gulp plugin to compile a file into a JavaScript representation
Last updated 6 years ago by kmalakoff .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-compile-js 
SYNC missed versions from official npm registry.

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/'))

Current Tags

  • 0.0.3                                ...           latest (6 years ago)

3 Versions

  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |