Skip to content
Evgeniy Litvinov edited this page Jun 2, 2018 · 2 revisions

This gives the ability to compile the SCSS file to CSS as well compress and generate source-maps for the CSS and JS files.

Installing dependencies

You must have node amd npm installed in order to run the compile and compress tasks.

Terminal:

// (Optional) Install Gulp module globally
npm install gulp -g

// Install fullpage's build dependencies
npm install

Task commands

Terminal:

// Only compile the SCSS
gulp scss

// Only compress the CSS
gulp css

// Only compress the JS
gulp js

// Runs the css and js tasks (not the scss)
gulp