mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 18:18:28 +08:00
19 lines
664 B
JavaScript
19 lines
664 B
JavaScript
/* RainLoop Webmail (c) RainLoop Team | Licensed under AGPL 3 */
|
|
const gulp = require('gulp');
|
|
const header = require('gulp-header');
|
|
const stripbom = require('gulp-stripbom');
|
|
|
|
const { config } = require('./config');
|
|
const { del } = require('./common');
|
|
|
|
// fontastic
|
|
const fontasticFontsClear = () => del('snappymail/v/' + config.devVersion + '/static/css/fonts/snappymail.*');
|
|
|
|
const fontasticFontsCopy = () =>
|
|
gulp
|
|
.src('vendors/fontastic/fonts/snappymail.*')
|
|
.pipe(gulp.dest('snappymail/v/' + config.devVersion + '/static/css/fonts'));
|
|
|
|
const fontastic = gulp.series(fontasticFontsClear, fontasticFontsCopy);
|
|
|
|
exports.vendors = gulp.parallel(fontastic);
|