Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

broccoli-systemjs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-systemjs

Broccoli SystemJS Bundle Builder

latest
Source
npmnpm
Version
0.3.1
Version published
Maintainers
1
Created
Source

broccoli-systemjs

Broccoli addon that bundles JavaScript with help of SystemJS Builder.

Usage

Typical to Broccoli addons it takes a tree as first argument and options object as a second.

import SystemJSBuilder from 'broccoli-systemjs';

export default SystemJSBuilder('src', {
  systemConfig: {
    // put SystemJS loader config here
  },
  builderConfig: {
    // put SystemJS builder config here
  },
});

Options consist of:

The addon will automatically scan for all files that ends with *.bundle.js and will build static (self executable) bundles for them.

Notes

This addons is pretty much hand tailored for Cliqz Browser Core build pipeline, but should be usable in any other setup. If you are interested in using it, please file a github issue for support.

Compared to other SystemJS broccoli addons, this one is:

  • compatible with Broccoli 1.x
  • limited to static bundling
  • simpler to use (no SystemJS config file required in a tree)

Development

This addon is built with help of raureif. Install raureif with:

npm install -g raureif

and build project with:

raureif build

For more info check raureif readme.

Keywords

broccoli-plugin

FAQs

Package last updated on 16 Nov 2017

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