minify-project
v1.0.5
Published
[![NPM version (1.0.0)](https://img.shields.io/npm/v/minify-project?style=for-the-badge)](https://www.npmjs.com/package/minify-project)
Downloads
8
Maintainers
Readme
#Minify-Project
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" });