Skip to content

Instantly share code, notes, and snippets.

View yofisim's full-sized avatar
🎯
Focusing

Simon yofisim

🎯
Focusing
View GitHub Profile
@yofisim
yofisim / gulpfile.js
Created November 11, 2021 13:50
Gulp 4 + nodemon + livereload for AngularJS and legacy monolithic apps
'use strict'
require('custom-env').env(); //Load .env file
const { src, dest, watch } = require('gulp');
const sass = require('gulp-sass')(require('sass'));
const autoprefixer = require('gulp-autoprefixer');
const uglify = require('gulp-uglify-es').default;
const browserify = require('browserify');
const source = require('vinyl-source-stream');
const buffer = require('vinyl-buffer');
const nodemon = require('gulp-nodemon');