Created
August 4, 2014 05:31
-
-
Save parris/95d8c9e1dd563bd06103 to your computer and use it in GitHub Desktop.
Gulp using coffee-reactify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp = require 'gulp' | |
browserify = require 'gulp-browserify' | |
rename = require 'gulp-rename' | |
gulp.task 'js', -> | |
gulp.src('./public/src/app.coffee', { read: false }) | |
.pipe(browserify({ | |
transform: ['coffee-reactify'], | |
extensions: ['.coffee'], | |
})) | |
.pipe(rename('app.js')) | |
.pipe(gulp.dest('./public/dist/')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment