Gulp plugin for Level2 Ember compiler
Homepage Repository npm Scala Download
npm install gulp-level2-ember@1.0.0
This plugin exposes the Level2 Ember compiler to Gulp.
Simply pipe files to the plugin to compile them. The plugin will output 1 file containing the compiled project.
var gulp = require('gulp'),
compile = require('gulp-level2-ember');
gulp.task('compile', function() {
return gulp.src('path/to/project')
.pipe(compile())
.pipe('path/to/output');
});
The module accepts options as the first argument when constructing the compiler.
var gulp = require('gulp'),
compile = require('gulp-level2-ember');
gulp.task('compile', function() {
return gulp.src('path/to/project')
.pipe(compile({ debugMode: false }))
.pipe('path/to/output');
});
Boolean
: Enables debug mode so that compiled sources are isolated in the
debugger (default true
)String
: The path to dependencies to be loaded by the compilerString
: Path to the ember template compiler to use