app-bundle

1.0.5 • Public • Published

App Bundle

Bundles a HTML file with unified JS/CSS and inlined assets.

Usage

Import the node module:

`npm install app-bundle`

Bundle to a variable (synchronous)

var appbundle = require("app-bundle");
appbundle("src/template.html", "bin/bundle.html", [ "src/images", "src/scripts" ]);

Minify

appbundle("src/template.html", "bin/bundle.html", [ "src/images", "src/scripts" ], true);

And inline assets

appbundle("src/template.html", "bin/bundle.html", [ "src/images", "src/scripts" ], true, true);

Readme

Keywords

Package Sidebar

Install

npm i app-bundle

Weekly Downloads

1

Version

1.0.5

License

MIT

Last publish

Collaborators

  • benlowry