Closed akileez closed 9 years ago
This solves the problem. :smiley_cat:
var resolve = require('resolve')
var uncss = require(resolve.sync('uncss', {basedir: '/usr/local/lib/node_modules'}))
done: https://github.com/akileez/rendr/commit/a75cf6e69461982acb0148db00e735959530201c project size 39MB to 5.4MB
weighs in at 16.6MB. mostly due to phantomjs. run via child_process.exec with the global install.