Notice
As of v0.2.0
this plugin only works with streamlinejs >= 1.x
. Please lock to an older version to use streamlinejs <= 0.12.x
.
gulp
Streamline Plugin for Supports all modes of streamlinejs
(callbacks, fibers, generators, and fast mode of each, respectively)
Usage
var gulp = ;var streamline = ;var insert = ; var paths = streamlineSrc: 'streamline/**/*._coffee' 'streamline/**/*.coffee' 'streamline/**/*._js' 'streamline/**/*.js' ; /*Compile streamline files with gulp-streamlinejs*/gulp;
Options
It will take all the standard options that the internal streamline transform and compile functions take. See here
Example:
Produce source maps
var sourcemaps = ; gulp;
Note: sourcemaps
: This follows the gulp-sourcemaps
convention. It will apply a vinyl-sourcemaps-apply
to the stream
with the sourcemap, if it is present.
Contributions
Any contributions welcome!