Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 0.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc