dir-compress

0.0.5 • Public • Published

dir-compress

about

dir-compress use uglify-js to you compress you entire project

how to use

npm install dir-compress
var compresser = require('dir-compress');
compresser.compress({
    rootPath: 'folder want to be compressed',
    newRootPath: 'new dir root',
    exclude: ['/folder'] //this path is relative to rootPath, which will not be compressed
})

if you use coffee, dir-compress will automatic remove the coffee files

Readme

Keywords

Package Sidebar

Install

npm i dir-compress

Weekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • khowarizmi