midnightgamer / minify-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Minify-Project

NPM version (1.0.0)

minify css with autoprefixing and js of whole project tree

Installation

To install minify-project, you need node.js and npm. 🚀

Once you have that set-up, just run npm install --save minify-project in your project directory. 🚢

You're now ready to use minify your whole project! Awesome! 🤘

Usage

var minify = require("minify-project");

minify css of certain folder

minify.minifier({ cssSource: "./css" });

minify and autoprefix css of certain folder

minify.minifier({ cssSource: "./css" , prefixEnabled: true });

minify js of certain folder along with css

minify.minifier({cssSource : "/css" ,jsSource: "/js" });

minify and store at your desire location

minify.minifier({cssSource : "/css" ,jsSource: "/js" , destination:"myDestination" });

About


Languages

Language:JavaScript 100.0%