vanipack

0.10.0 • Public • Published

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

Package Sidebar

Install

npm i vanipack

Weekly Downloads

10

Version

0.10.0

License

MIT

Last publish

Collaborators

  • lixiaoyan