This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

broccoli-system-builder

1.0.4 • Public • Published

Broccoli SystemJS Builder

The broccoli-system-builder plugin providers a thin wrapper around the SystemJS Builder.

Installation

npm install broccoli-system-builder --save-dev

Usage

var SystemBuilder = require('broccoli-system-builder');

var outputNode = new SytemBuilder(inputNode, baseURL, configPath, fn);
  • inputNode: Input node for System Builder.

  • baseURL: Relative path of the base JSPM folder.

  • configPath: Relative path of the SystemJS config file.

  • fn: Callback function to setup SystemJS Build. See here for usage details.

Example

var outputNode = new SytemBuilder(inputNode, '/', 'system.config.js', function( builder ) {

  builder.config({
    meta: {
      'resource/to/ignore.js': {
        build: false
      }
    }
  });

  return builder.buildStatic('myModule.js', 'outfile.js');
});

Readme

Keywords

Package Sidebar

Install

npm i broccoli-system-builder

Weekly Downloads

1

Version

1.0.4

License

ISC

Last publish

Collaborators

  • bajix