npm

Need private packages and team management tools?Check out npm Orgs. »

express-bem-enb-make

0.1.3 • Public • Published

express-bem-enb-make

Build Status Dependency Status

enb make middleware (plugin) for express-bem

Dependencies

enb v0.13.9+

Peer

express-bem v0.2.1+

Why

To build bundles on each render.

Installation

$ npm i express-bem-enb-make --save

Usage

var express = require('express');
var expressBem = require('express-bem');
 
var app = express();
var bem = expressBem({projectRoot: './path-to/bem-project'});
 
bem.bindTo(app);
 
if (process.env.NODE_ENV === 'development') {
  bem.use(require('express-bem-enb-make').middleware, {verbosity: 'debug'});
  // bem.usePlugin('tools-make', {verbosity: 'debug'});
}

License

MIT License

install

npm i express-bem-enb-make

Downloadsweekly downloads

10

version

0.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability