serby/compact — pull request #18 by Voronchuk (2012-07-06 16:43:58+00:00)
Title: Config parser implemented

Add support for simple config objects to define js files to bundle. _I don't like to code such settings_.

Config object is passed as 3 optional argument to *createCompact* function:
```require('compact').createCompact config, null, require('./config/vendor').javascript```

Sample config object:
```
{
prepend: [
'/config.js'
],

append: [
'/garbageCollector.js'
],

cmsSourcePath: '/public/vendor/cms/',
cms: [
'prepend',
'/myModel.js',
'/bootstrap.js',
'append'
]
}
```