This is a local environment that you can use to minify your CSS, JS, & HTML files.
Start by cloning or downloading the source files.
Clone the repo using Git:
git clone https://github.com/amardeeprai/local-minifier.git
Alternatively you can download this repository.
Open your terminal window and change into the source diectory where you have cloned or downloaded the repo to. Run the command:
npm install
NOTE:You will need node.js installed on your computer before you can run this command.
Open your terminal window and change into the source diectory where you have cloned or downloaded the repo to.
Once all of the required node modules have been downloaded and installed, run the command
gulp
This will generate the CSS, JS, & HTML files.
You can generate HTML files by running the following command:
gulp pages
NOTE: this can only be run from the directory where you have cloned or downloaded the repo to.
You can generate CSS files by running the following command:
gulp styles
NOTE: this can only be run from the directory where you have cloned or downloaded the repo to.
You can generate JS files by running the following command:
gulp scripts
NOTE: this can only be run from the directory where you have cloned or downloaded the repo to.
Copyright 2017 Amardeep Rai. Licensed under an Apache-2 license.