Package Exports
- gulp-m2df
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 (gulp-m2df) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Formatting CommonJS to the AMD or KMD
Installation
$ npm install --save-dev gulp-m2df
Usage
format("yourPackageName", "amd|kmd")
var pkgName = require('./package.json').name;
var formatter = require('gulp-m2df');
gulp.src('./src/**/*')
.pipe(format(pkgName, 'amd'))
.pipe(gulp.dest("./build/amd"));