vanilla-ui / vanipack

Universal build system for isomorphic app.
https://npm.im/vanipack
MIT License
16 stars 0 forks source link
isomorphic universal vanipack webpack

Vanipack

Universal build system for isomorphic app.

build status version license


Vanipack


Features

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