1.0.4 • Published 8 years ago

broccoli-system-builder v1.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

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');
});
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.0

8 years ago