node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป

conga-browserify

conga-browserify

Overview

This is a bundle for the Conga.js framework which uses browserify to allow you to expose modules within your application to the browser.

Configuration

# config.yml
browserify:

    # bundles to create
    bundles:

        mybundle:
            path: js/user.js
            expose: user
            src:
                - demo-bundle:model/user

Usage

Jade example:

// layout.jade
script(src='/js/user.js')