mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
#89 Use OpenPGP.js v5.1.0 (still in progress)
This commit is contained in:
parent
dfd255545a
commit
ff7e41ad08
130 changed files with 1871 additions and 44411 deletions
11
tasks/js.js
11
tasks/js.js
|
|
@ -37,17 +37,10 @@ const jsServiceWorker = () => {
|
|||
// OpenPGP
|
||||
const jsOpenPGP = () => {
|
||||
return gulp
|
||||
.src('vendors/openpgp-2.6.2/dist/openpgp.js')
|
||||
.src('vendors/openpgp-5/openpgp.js')
|
||||
.pipe(gulp.dest(config.paths.staticJS));
|
||||
};
|
||||
|
||||
// OpenPGP Worker
|
||||
const jsOpenPGPWorker = () => {
|
||||
return gulp
|
||||
.src('vendors/openpgp-2.6.2/dist/openpgp.worker.min.js')
|
||||
.pipe(gulp.dest(config.paths.staticMinJS));
|
||||
};
|
||||
|
||||
// libs
|
||||
const jsLibs = () => {
|
||||
const src = config.paths.js.libs.src;
|
||||
|
|
@ -131,6 +124,6 @@ exports.jsLint = jsLint;
|
|||
exports.js = gulp.series(
|
||||
jsClean,
|
||||
jsLint,
|
||||
gulp.parallel(jsBoot, jsServiceWorker, jsOpenPGP, jsOpenPGPWorker, jsLibs, jsApp, jsAdmin),
|
||||
gulp.parallel(jsBoot, jsServiceWorker, jsOpenPGP, jsLibs, jsApp, jsAdmin),
|
||||
jsMin
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue