Webup
yet another builder/bundler for the web
Setup
Info
Webup is actually quite lazy and only concerns about reading, joining, splitting, etc... .
Instead it relies on plugins & presets to do the heavy work (he even doesn't concern bundling by default, jeez).
Usage
Node
;
API
webup(options);
entry
Type: string
Default: null
The entry point of your app (usually index.html).
shell
Type: string
Default: null
An app shell containing the basic layout of your app (like my-app.html).
dest
Type: string
Default: null
The destination to write the result to.
sources
Type: array
Default: []
App sources, dependencies, etc ...
plugins
Type: array
Default: []
An array containing plugins.
presets
Type: array
Default: ['default']
An array containing presets.
note: Webup does nothing when no presets defined
building
read, clean, split, plugins, join, write
Bundling
read, bundler, clean, plugins, write
Presets
- webup-preset-default The default preset used to create a unbundled & bundled build.
Plugins
- webup-plugin-default Example for creating a plugin yourself.
- webup-plugin-split Plugin for handling splitted html, css & js paths.
TODO
- Finish readme
- Create wiki