dir-compress
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Latest commit 5570628 Apr 19, 2014 @khowarizmi up
Permalink
Failed to load latest commit information.
bin
.gitignore
README.md
compresser.coffee
compresser.js
origin.coffee
origin.js
package.json
test.coffee
test.js
upgrade.coffee
upgrade.js

README.md

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