0.5.2 • Published 7 years ago

vanilla-make v0.5.2

Weekly downloads
17
License
MIT
Repository
github
Last release
7 years ago

This project was renamed to vanipack.


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,

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

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

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

Plugins

Examples