mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Added Sieve parser code in master
This commit is contained in:
parent
e90e8a55ce
commit
f4cd25f8ad
21 changed files with 2126 additions and 8 deletions
|
|
@ -73,6 +73,9 @@ config.paths.js = {
|
|||
'dev/External/SquireUI.js'
|
||||
]
|
||||
},
|
||||
sieve: {
|
||||
name: 'sieve.js'
|
||||
},
|
||||
app: {
|
||||
name: 'app.js'
|
||||
},
|
||||
|
|
|
|||
11
tasks/js.js
11
tasks/js.js
|
|
@ -53,6 +53,15 @@ const jsLibs = () => {
|
|||
.pipe(gulp.dest(config.paths.staticJS));
|
||||
};
|
||||
|
||||
// sieve
|
||||
const jsSieve = async () =>
|
||||
(await rollupJS(config.paths.js.sieve.name))
|
||||
// .pipe(sourcemaps.write('.'))
|
||||
.pipe(header(getHead() + '\n'))
|
||||
.pipe(eol('\n', true))
|
||||
.pipe(gulp.dest(config.paths.staticJS))
|
||||
.on('error', gutil.log);
|
||||
|
||||
// app
|
||||
const jsApp = async () =>
|
||||
(await rollupJS(config.paths.js.app.name))
|
||||
|
|
@ -124,6 +133,6 @@ exports.jsLint = jsLint;
|
|||
exports.js = gulp.series(
|
||||
jsClean,
|
||||
jsLint,
|
||||
gulp.parallel(jsBoot, jsServiceWorker, jsOpenPGP, jsLibs, jsApp, jsAdmin),
|
||||
gulp.parallel(jsBoot, jsServiceWorker, jsOpenPGP, jsLibs, jsSieve, jsApp, jsAdmin),
|
||||
jsMin
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue