1.0.0 • Published 9 years ago

hapi-webpack v1.0.0

Weekly downloads
6
License
-
Repository
-
Last release
9 years ago

hapi-webpack

Build Status

A Hapi plugin for building and serving Webpack bundles.

Installation

npm install hapi-webpack

Usage

var Webpack = require('hapi-webpack')

server.register({
  register: Webpack,
  options: options,
}, {
  routes: {
    prefix: '/build',
  },
})

Webpack bundles will be served from /build/<output_filename>.js.

Options

See the webpack configuration documentation for details.

Tests

$ npm test

License

See LICENSE.