singlejs

0.1.3 • Public • Published

Single JS

A simple tool to build multiple components as a single js file.

How to use it

Example how to build brick (assuming brick is in ../brick):

./singlejs -f ../brick/dist/brick.html > output.js

to get a minified js:

./singlejs -m -f ../brick/dist/brick.html > output.js

to get the maximum compression available (it removes spaces inside templates):

./singlejs -a -f ../brick/dist/brick.html > output.js

/singlejs/

    Package Sidebar

    Install

    npm i singlejs

    Weekly Downloads

    2

    Version

    0.1.3

    License

    MIT

    Last publish

    Collaborators

    • kentaromiura