pull-bundle
Bundle an app with pull-stream
Stream in JS and/or CSS files, and produce boilerplate HTML file with some settings
It wraps:
pull-bundle-js
for bundling JS with Browserifypull-concat-files
for bundling CSS filespull-bundle-html
for wraping the JS/CSS into boilerplate HTML
Install
npm install --save pull-bundle
yarn add pull-bundle
Usage
bundle(path?, options?)
Bundles JS and CSS files streamed in, using Browserify and concat
They take options as { js, html, css }
. You can opt-out of each using lang: false
.
The path
shorthand corropsonds to options.html.path
. If you opt-out of HTML, you can't use the shorthand.
Also see
pull-files
for reading and writing filespull-minify
for minifying the files
Maintained by Jamen Marz (See on Twitter and GitHub for questions & updates)