Skip to content

VandeurenGlenn/webup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

webup({
  entry: 'index.html',
  shell: 'my-app.html',
  dest: 'build/index.html',
  sources: ['./test/html/**/*']
});

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

Plugins

TODO

  • Finish readme
  • Create wiki