mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
migrating dependencies from bower to npm
This commit is contained in:
@@ -4,18 +4,18 @@ var utils = require('../../utils.js');
|
||||
|
||||
gulp.task('build-jquery-mobile-css', function(){
|
||||
return utils.buildCssGroup([
|
||||
config.paths.vendors + 'jquery-mobile-bower/css/jquery.mobile-1.3.2.css'
|
||||
config.paths.nodes + 'jquery-mobile/css/themes/default/jquery.mobile.css'
|
||||
], 'jquery-mobile', 'vendors/jquery-mobile');
|
||||
});
|
||||
|
||||
gulp.task('build-jquery-mobile-js', function(){
|
||||
return utils.buildJsGroup([
|
||||
config.paths.vendors + 'jquery-mobile-bower/js/jquery.mobile-1.3.2.js'
|
||||
config.paths.nodes + 'jquery-mobile/js/jquery.mobile.js'
|
||||
], 'jquery-mobile', 'vendors/jquery-mobile');
|
||||
});
|
||||
|
||||
gulp.task('build-jquery-mobile', ['build-jquery-mobile-js', 'build-jquery-mobile-css'], function(){
|
||||
// copy jquery mobile assets
|
||||
return gulp.src(config.paths.vendors + 'jquery-mobile-bower/css/images/**/*')
|
||||
return gulp.src(config.paths.nodes + 'jquery-mobile-bower/css/themes/default/images/**/*')
|
||||
.pipe(gulp.dest( config.paths.build + 'vendors/jquery-mobile/images'));
|
||||
});
|
Reference in New Issue
Block a user