Skip to content

david-gang/gulp-traceur-cmdline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp Traceur (Command Line)

Gulp plugin for Traceur. This plugin uses Traceur's command line instead of its Node API.

Why Traceur's command line ?
Traceur generates different outputs depending if you are using its Node API (the one that gulp-traceur uses) or the command line, in most cases, the output of the command line is the more accurate.

Install

Install the gulp-traceur-cmdline:

npm install gulp-traceur-cmdline --save-dev

##Usage

var gulpTraceurCmdline = require('gulp-traceur-cmdline');

gulp.task('gulpTraceurCmdline',function() {
  gulp.src("./source/styleguide/js/main.js")
    .pipe(gulpTraceurCmdline({
      modules : 'inline',
      out     : './dist/styleguide/js/main.js',
      debug   : false
    }))
});

API

Options

You can pass all current Traceur's options through gulp-traceur-cmdline. The default for the option modules is inline.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%