broccoli-requirejs

2.0.0 • Public • Published

broccoli-requirejs

Build Status

Install

npm install --save-dev broccoli-requirejs

options

Key Mandatory Type Description
verbose 👎 Boolean (default false) Prints the result of the optimization
cacheInclude 👎 Array See (CachingWriter documentation)[https://github.com/ember-cli/broccoli-caching-writer#documentation]
cacheExclude 👎 Array See (CachingWriter documentation)[https://github.com/ember-cli/broccoli-caching-writer#documentation]
requirejs 👍 Object RequireJS options, out or dir is used to set the output tree

Example

var RequireJs = require('broccoli-requirejs');
var tree = new RequireJS('lib', {
  verbose   : true,
  requirejs : {
    name : 'index',
    out  : 'bundle.js'
  }
});

ZOMG!!! TESTS?!?!!?

I know, right?

Running the tests:

npm test

License

This project is distributed under the MIT license.

/broccoli-requirejs/

    Package Sidebar

    Install

    npm i broccoli-requirejs

    Weekly Downloads

    16

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • aaronshaf
    • davidfou