0.1.2 • Published 10 years ago

@dms/packager v0.1.2

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
10 years ago

Functions for packing and unpacking DMS supplies.

This package is primarily referenced by other DMS packages and not necessarily used on its own.

Loading @dms/packager.

var dmsPackager = require ('@dms/packager');

pack(supplyEntryPath)

Creates a supply bundle object from an entry path. Recursively scans files for require() calls that use relative paths and minifies the code for each.

var bundle = dmsPackager.pack(supplyEntryPath);

unpack(bundle)

Evaluates a supply bundle object into a pre-injected supply.

var s = dmsPackager.unpack(bundle);
0.1.2

10 years ago

0.1.1

10 years ago

1.0.0

10 years ago