Skip to content

Instantly share code, notes, and snippets.

@webfella
Created December 31, 2014 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webfella/4b3c3664749034ce42e2 to your computer and use it in GitHub Desktop.
Save webfella/4b3c3664749034ce42e2 to your computer and use it in GitHub Desktop.
Custom build of jquery for gulp
[submodule "project/src/ui/build/thirdparty/jquery"]
path = project/src/ui/build/thirdparty/jquery
url = git://github.com/jquery/jquery.git
var gulp = require('gulp'),
shell = require('gulp-shell');
gulp.task('jquery', shell.task([
'npm install',
'./node_modules/.bin/grunt custom:-ajax/xhr,-ajax/script,-css,-deprecated,-dimensions,-effects,-event,-offset,-wrap,-core/ready,-exports/global,-exports/amd,-sizzle',
'./node_modules/.bin/grunt dist:../../../javascripts/libs/'
], {
cwd: './src/ui/build/thirdparty/jquery'
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment