gulp-bundle-assets-express-middleware
Express middleware for gulp-bundle-assets
Install
npm install --save gulp-bundle-assets-express-middleware
Usage
var gulpBundleAssets = ;var express = ;var app = ;// ... configure view engine // configure "bundle" view property on every response// to contain the contents of "bundle.result.json"app; app; app;
See here for a detailed explanation
API
resultPath
Type: string
Default: <fully qualified path of file where call was made from>/bundle.result.json
If your app is not in the same directory as your bundle.result.json
, simply provide the fully qualified path to
its location, e.g.:
app;