This package adds middleware for assets compilation & minifying. Supported asset types:
- less
- stylus
- sass
- coffee-script
- javascript
Step 1. install using npm:
npm install co-assets-compiler --save
Step 2. add co-assets-compiler
line to config/autoload.js
, for example:
module.exports = function (compound) {
return [
'ejs-ext',
'jugglingdb',
'seedjs',
'co-assets-compiler'
].map(require);
};