sourcemint-bundler-js

npm install sourcemint-bundler-js
11 downloads in the last week
50 downloads in the last month

PINF/CommonJS JavaScript Program Bundler

Status: ALPHA

The Sourcemint JavaScript Program Bundler takes a program.json file and builds:

  • A static program bundle used to boot the application and
  • One or more dynamic load bundles.

Bundles are loadable using the Sourcemint JavaScript Loader on the following platforms:

Bundles may be generated from the command line or from with a NodeJS application.

Usage

Requirements:

Install:

npm install sourcemint-bundler

Bundle a program:

sourcemint-bundler --platform <platform> /path/to/program.json

Examples

sourcemint-bundler --platform browser ./examples/01-HelloWorld/program.json

TODO

  • Make bundler portable so it can run in any environment. Need to implement sourcemint/stdlib-js to use as file et.al. abstraction.
npm loves you