Name: gulp-requirejs-optimize
Owner: Metafizzy
Description: RequireJS optimizer plugin for gulp
Created: 2016-01-19 01:34:49.0
Updated: 2016-11-02 13:15:01.0
Pushed: 2016-11-02 14:54:53.0
Homepage: null
Size: 2
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Used to create pkgd
files for Masonry, Isotope, Packery, and Flickity.
rjsOptimize = require('gulp-requirejs-optimize');
.task( 'requirejs', function() {
turn gulp.src('js/packery.js')
.pipe( rjsOptimize({
baseUrl: 'bower_components',
optimize: 'none',
include: [
'jquery-bridget/jquery-bridget',
'packery/packery'
],
paths: {
packery: '../js/',
jquery: 'empty:'
}
}) )
.pipe( gulp.dest('dist') );