mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Updated gulp to v5 and replaced vulnerable gulp-header with gulp-append-prepend
This commit is contained in:
parent
cd5ba2b000
commit
1a19d25fdb
4 changed files with 2912 additions and 3972 deletions
|
|
@ -1,17 +1,8 @@
|
|||
/* RainLoop Webmail (c) RainLoop Team | Licensed under MIT */
|
||||
const gulp = require('gulp');
|
||||
const del = require('del');
|
||||
const fs = require('fs');
|
||||
|
||||
const { config } = require('./config');
|
||||
|
||||
exports.del = (dir) => del(dir);
|
||||
|
||||
exports.copy = (sFile, sNewFile, done) => {
|
||||
fs.writeFileSync(sNewFile, fs.readFileSync(sFile));
|
||||
done();
|
||||
};
|
||||
|
||||
exports.getHead = () => config.head.agpl;
|
||||
|
||||
exports.cleanStatic = () => del(config.paths.staticJS) && del(config.paths.staticCSS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue