Package Exports
- creamify
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (creamify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
creamify
Cream & Sugar Transformer for use with browserify
Adapted from babelify (https://github.com/babel/babelify)
Usage
Here is a gulp example. You'll get the picture :)
var gulp = require('gulp');
var browserify = require('browserify');
var creamify = require('creamify');
var source = require('vinyl-source-stream'); // <- standard re-gulpification
gulp.task('cns', function () {
return browserify({entries: ['/path/to/entry.cns'], extensions: ['.cns']})
.transform(creamify)
.bundle()
.pipe(source('app.js'))
.pipe(gulp.dest('path/to/output_directory'));
});