bund-cake

A JavaScript bundler and minifier for express.

bund-cake

A JavaScript bundler and minifier for express.

The JavaScript outputs to /assets/bundle/[bundled-file].js

In app.js,

GLOBAL.bund = require('bund-cake')(app)

And this snippet of EJS in your view,

<%- bund.js('./public/javascripts/annoying-popups.js', './public/javascripts/one-weird-tip.js') %>