Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 553 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 553 Bytes

vulcanize-middleware

Concatenate a set of Web Components into one file for express.

install

$ npm install --save vulcanize-middleware

Usage

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

License

MIT © k2lab.net