mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Move "assets" to proper location in snappymail/v/0.0.0/static/
This commit is contained in:
parent
4521a9917a
commit
489ed81c84
26 changed files with 7 additions and 17 deletions
|
|
@ -1,7 +0,0 @@
|
|||
/* RainLoop Webmail (c) RainLoop Team | Licensed under MIT */
|
||||
const gulp = require('gulp');
|
||||
const { config } = require('./config');
|
||||
|
||||
const assetsCopy = () => gulp.src(config.paths.assets.src).pipe(gulp.dest(config.paths.static));
|
||||
|
||||
exports.assets = gulp.series(assetsCopy);
|
||||
|
|
@ -14,4 +14,4 @@ exports.copy = (sFile, sNewFile, done) => {
|
|||
|
||||
exports.getHead = () => config.head.agpl;
|
||||
|
||||
exports.cleanStatic = () => del(config.paths.static);
|
||||
exports.cleanStatic = () => del(config.paths.staticJS) && del(config.paths.staticCSS);
|
||||
|
|
|
|||
|
|
@ -14,15 +14,10 @@ const config = {
|
|||
};
|
||||
|
||||
config.paths.globjs = 'dev/**/*.js';
|
||||
config.paths.static = 'snappymail/v/' + config.devVersion + '/static/';
|
||||
config.paths.staticJS = 'snappymail/v/' + config.devVersion + '/static/js/';
|
||||
config.paths.staticMinJS = 'snappymail/v/' + config.devVersion + '/static/js/min/';
|
||||
config.paths.staticCSS = 'snappymail/v/' + config.devVersion + '/static/css/';
|
||||
|
||||
config.paths.assets = {
|
||||
src: ['assets/**/*.*', 'assets/**/.htaccess']
|
||||
};
|
||||
|
||||
config.paths.less = {
|
||||
main: {
|
||||
src: 'dev/Styles/@Main.less',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue