Answer the question
In order to leave comments, you need to log in
How to transform LiveScript for Browserify?
I'm trying to write a Gulp task to build LiveScript with Browserify, but I can't find the LiveScript transformer. I want to do everything concisely in the Gulp style, without unnecessary intermediate entities in the file system. For Browserify itself, the CoffeeScript approach is described: https://www.npmjs.org/package/gulp-browserify
gulp.task('coffee', function() {
gulp.src('src/coffee/app.coffee', { read: false })
.pipe(browserify({
transform: ['coffeeify'],
extensions: ['.coffee']
}))
.pipe(rename('app.js'))
.pipe(gulp.dest('./build/js'))
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question