build-server

0.0.2 • Public • Published

build-server

A simple Node.js server to serve the Webpack build.

Installation

npm install build-server --save

Usage

const server = require('build-server');
 
server('build'); // Considering the 'build' to be the original build directory.

API

server(directory)

Serves the Webpack build.

directory

Required Type: string

License

ISC

/build-server/

    Package Sidebar

    Install

    npm i build-server

    Weekly Downloads

    6

    Version

    0.0.2

    License

    ISC

    Last publish

    Collaborators

    • nitin42