gobblejs / gobble

The last build tool you'll ever need
333 stars 20 forks source link

Connect middleware support #9

Open rstacruz opened 10 years ago

rstacruz commented 10 years ago

It seems like an obvious case to attach gobble into an express app (or anything otherwise connect-enabled):

var gobble = require('gobble/middleware');

app = express();
app.use('/assets', gobble());
app.use('/assets', gobble({ config: 'config/gobblefile.js' ));
app.listen(4000, function () { ... });
Rich-Harris commented 9 years ago

This makes total sense. Going on the roadmap for sure.

Mouvedia commented 9 years ago

@Rich-Harris shouldn't you have a wiki page for the roadmap? Or a milestone?