PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/islandpc.ca/wp-content/plugins/complianz-terms-conditions/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/islandpc.ca/wp-content/plugins/complianz-terms-conditions/gulpfile.js |
const gulp = require('gulp'); const concat = require('gulp-concat'); const cssbeautify = require('gulp-cssbeautify'); const cssuglify = require('gulp-uglifycss'); const jsuglify = require('gulp-uglify'); const spawn = require('child_process').spawn; var gulpless = require('gulp-less'); var gulpautoprefixer = require('gulp-autoprefixer'); //Creating a Style task that convert LESS to CSS function lessTask(cb) { var srcfile = './assets/css/admin.less'; var temp = './assets/css'; gulp .src(srcfile) .pipe(gulpless()) .pipe(gulpautoprefixer()) .pipe(gulp.dest(temp)); srcfile = './assets/css/wizard.less'; temp = './assets/css'; gulp .src(srcfile) .pipe(gulpless()) .pipe(gulpautoprefixer()) .pipe(gulp.dest(temp)); } exports.less = lessTask function jsTask(cb) { gulp.src('assets/js/admin.js') .pipe(concat('admin.js')) .pipe(gulp.dest('./assets/js')) .pipe(concat('admin.min.js')) .pipe(jsuglify()) .pipe(gulp.dest('./assets/js')); cb(); } exports.js = jsTask function defaultTask(cb) { gulp.watch('./assets/css/*.less', { ignoreInitial: false }, lessTask); gulp.watch('./assets/js/*.js', { ignoreInitial: false }, jsTask); cb(); } exports.default = defaultTask