Last active
February 27, 2018 10:07
-
-
Save ahmadawais/f1235a1468fec3605425 to your computer and use it in GitHub Desktop.
Load Plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Load Plugins. | |
* | |
* Load gulp plugins and assign them semantic names. | |
*/ | |
var gulp = require('gulp'); // Gulp of-course | |
// CSS related plugins. | |
var sass = require('gulp-sass'); // Gulp pluign for Sass compilation | |
var autoprefixer = require('gulp-autoprefixer'); // Autoprefixing magic | |
var minifycss = require('gulp-uglifycss'); // Minifies CSS files | |
// JS related plugins. | |
var concat = require('gulp-concat'); // Concatenates JS files | |
var uglify = require('gulp-uglify'); // Minifies JS files | |
// Utility related plugins. | |
var rename = require('gulp-rename'); // Renames files E.g. style.css -> style.min.css | |
var sourcemaps = require('gulp-sourcemaps'); // Maps code in a compressed file (E.g. style.css) back to it’s original position in a source file (E.g. structure.scss, which was later combined with other css files to generate style.css) | |
var notify = require('gulp-notify'); // Sends message notification to you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment