Skip to content

Packaging

Luis Carbonell edited this page Jul 27, 2019 · 1 revision

Packaging

Packaging a monolith library for both Node.js and Browser can be complicated the following should make it easier.

Use browserify to pack src/index.js (or another file) into a UMD module using browserify src/index.js -o dist/index.js -s [MODULE_NAME].

Clone this wiki locally