vulcanize-middleware
Concatenate a set of Web Components into one file for express.
$ npm install --save vulcanize-middleware
var express = require('express');
var app = express();
// view engine setup
app.set("views", path.join(__dirname, "views"));
app.set("view engine", "jade");
var public_dir = path.join(__dirname, "public");
app.use(express.static(public_dir));
app.use(require("vulcanize-middleware")({dest: public_dir}));
MIT © k2lab.net