minify-project

minify css with autoprefixing and js of whole project tree

Usage no npm install needed!

<script type="module">
  import minifyProject from 'https://cdn.skypack.dev/minify-project';
</script>

README

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