1.0.5 • Published 5 years ago

minify-project v1.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

#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. :rocket:

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

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

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" });