Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 651 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 651 Bytes

Assets compiler for CompoundJS

This package adds middleware for assets compilation & minifying. Supported asset types:

  • less
  • stylus
  • sass
  • coffee-script
  • javascript

Installation

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);
};