mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
CommonJS (research)
This commit is contained in:
parent
2fa2cd191e
commit
56607de87c
91 changed files with 20220 additions and 12933 deletions
17
gulpfile.js
17
gulpfile.js
|
|
@ -607,4 +607,19 @@ gulp.task('build+', ['rainloop+']);
|
|||
gulp.task('b', ['rainloop']);
|
||||
gulp.task('b+', ['rainloop+']);
|
||||
|
||||
gulp.task('own', ['owncloud']);
|
||||
gulp.task('own', ['owncloud']);
|
||||
|
||||
var browserify = require('browserify');
|
||||
var source = require('vinyl-source-stream');
|
||||
|
||||
gulp.task('bro', function() {
|
||||
return browserify({
|
||||
'basedir': './dev/',
|
||||
'detectGlobals': false,
|
||||
'debug': false
|
||||
})
|
||||
.add('./RainLoopBoot.js')
|
||||
.bundle()
|
||||
.pipe(source('bro.js'))
|
||||
.pipe(gulp.dest(cfg.paths.staticJS));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue