Skip to content

CodeBreaker444/gulp4-node.js-script-to-automate-sass-build-on-file-change

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GULP Script to Automate The SCSS Compilation

Requirements:

  • Node.js(obviously)

  • Gulp4(Do not use gulp3 npm install gulp)

  • Other Dependencies

    npm install gulp-sass

    npm install gulp-clean-css

    npm install gulp-uglify

    npm install gulp-rename

    npm install gulp-changed

Usage

Step-1: Copy the gulpfile.js to root folder of node app

Step-2: Create your SCSS(input) and CSS(output) folders

Step-3: Change the input and output folder in gulpfile.js

Step-4: cd to the root folder and type gulp

Note: May not work with future versions of Gulp(they are changing the syntax a lot)

Personal INFO:

Donations Help Me to Keep The Support and Development: Click Here.

FollowMe: Click Here.

Google Play: Codebreaker.

Website: Personal.

About

Compile the SCSS files automatically to CSS(minified) whenever they change. Gulp script monitors the folders using watch.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors