Socket
Book a DemoInstallSign in
Socket

broccoli-requirejs

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-requirejs

RequireJS plugin for Broccoli

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
2
Created
Source

broccoli-requirejs

Build Status

Install

npm install --save-dev broccoli-requirejs

options

KeyMandatoryTypeDescription
verbose:-1:Boolean (default false)Prints the result of the optimization
cacheInclude:-1:ArraySee (CachingWriter documentation)[https://github.com/ember-cli/broccoli-caching-writer#documentation]
cacheExclude:-1:ArraySee (CachingWriter documentation)[https://github.com/ember-cli/broccoli-caching-writer#documentation]
requirejs:+1:ObjectRequireJS 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.

Keywords

broccoli-plugin

FAQs

Package last updated on 30 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts