gulp plugin for working with AMD-files
Install with npm
npm install gulp-amd
var amd = require('gulp-amd');
gulp.src('src/**/*.js')
.pipe(amd(options));
Type: Object
Type: String
or Array
Dependencies names to add to AMD-files
Type: String
or Array
Remove certain dependencies from AMD-files
Type: Boolean
Remove all dependencies from AMD-files
Type: String
Set module name to each AMD-file
Type: Boolean
Clear module name from each AMD-file
gulp.src('src/**/*.js')
.pipe(amd({clearName: true, add: 'config'}));
Copyright (c) 2014-2015 Oleg Istomin Released under the MIT license