Universal build system for isomorphic app.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.babelrc
.editorconfig
.eslintrc.json
.gitignore
.tern-project
.travis.yml
LICENSE
Makefile
README.md
cli.js
index.js
package.json
register.js
yarn.lock

README.md

Vanipack

Universal build system for isomorphic app.

build status version license


Vanipack


Features

  • Single dependency
  • Plugin system
  • Hot reload
  • Fully customizable

Installation

$ npm install --save vanipack

Usage

# start development server
$ vanipack serve

# build for production
$ NODE_ENV=production vanipack build

# start production server
$ NODE_ENV=production vanipack start

Config

// vanipack.js

export default {
  plugins: [],

  webpack: null,

  postcss: null,

  path: {
    public: "/",
    static: "./static",
  },

  entry: {
    client: "./entry/client",
    server: "./entry/server",
  },

  module: {
    include: [],
  },

  bind: {
    client: {
      host: "127.0.0.1",
      port: 8080,
    },
    server: {
      host: "127.0.0.1",
      port: 8000,
    },
  },
};

Plugins

Examples



Chicory Project