mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Code refactoring
Fixed owncloud password encoder/decoder (#291) Fixed ckeditor in ownCloud iframe (Closes #302) Release commit
This commit is contained in:
parent
7a374ebe03
commit
06274c6a7c
112 changed files with 2667 additions and 1862 deletions
11
gulpfile.js
11
gulpfile.js
|
|
@ -68,6 +68,7 @@ function renameFileWothMd5Hash(sFile)
|
|||
}
|
||||
|
||||
cfg.paths.globjs = 'dev/**/*.js';
|
||||
cfg.paths.static = 'rainloop/v/' + cfg.devVersion + '/static/';
|
||||
cfg.paths.staticJS = 'rainloop/v/' + cfg.devVersion + '/static/js/';
|
||||
cfg.paths.staticMinJS = 'rainloop/v/' + cfg.devVersion + '/static/js/min/';
|
||||
cfg.paths.staticCSS = 'rainloop/v/' + cfg.devVersion + '/static/css/';
|
||||
|
|
@ -238,6 +239,16 @@ gulp.task('js:libs', ['js:encrypt'], function() {
|
|||
.pipe(gulp.dest(cfg.paths.staticMinJS));
|
||||
});
|
||||
|
||||
gulp.task('js:ckeditor:beautify', function() {
|
||||
var beautify = require('gulp-beautify');
|
||||
return gulp.src(cfg.paths.static + 'ckeditor/ckeditor.js')
|
||||
.pipe(beautify({
|
||||
'indentSize': 2
|
||||
}))
|
||||
.pipe(rename('ckeditor.beautify.js'))
|
||||
.pipe(gulp.dest(cfg.paths.static + 'ckeditor/'));
|
||||
});
|
||||
|
||||
gulp.task('js:webpack:clear', function() {
|
||||
return gulp.src([cfg.paths.staticJS + '*.chunk.js', cfg.paths.staticMinJS + '*.chunk.js'], {read: false})
|
||||
.pipe(require('gulp-rimraf')());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue