1.0.0 • Published 8 years ago

gulp-level2-ember v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
8 years ago

Level2 Ember Gulp Plugin

This plugin exposes the Level2 Ember compiler to Gulp.

Usage

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');
});

Options

  • debugMode Boolean: Enables debug mode so that compiled sources are isolated in the debugger (default true)
  • dependencyPath String: The path to dependencies to be loaded by the compiler
  • templateCompiler String: Path to the ember template compiler to use
1.0.0

8 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

10 years ago