vanipack
v0.10.0
Published
Universal build system for isomorphic app.
Downloads
8
Readme
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,
},
},
};