Asset bundler for express.js apps with S3 deployment option
Asset bundler and deployer for node and S3.
The project can be install with npm.
npm install minimus
The minimus module should be laoded in your primary node app file (app.js, web.js, server.js, etc).
var minimus = ;var assets =;
and then added as middleware in configure.
Please note only one level of wildcard mapping is supported.
Will not work:
In Express 3.x minimus is run as middleware adding the following to
These are included in views with a function call:
<%- stylesheets('sectionName') %>
sectionName is a section from the assets.yml file above.
The following command will read the assets.yml file and deploy to the specified Amazon S3 bucket.
minify option to true in the minimus function will use the specified S3 bucket for the assets.
Images are not deployed as part of this process; they must be uploaded manually.
Minimus supports Express 2.x apps through helpers.
// inside app.configureminimus =;...//// helpers//app;