Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including express-bem-enb-make with all npm packages installed. Try it out:

var expressBemEnbMake = require("express-bem-enb-make")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

express-bem-enb-make v0.1.3

bem engines middleware to build bundles on render with enb

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free