hapi-webpack

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i hapi-webpack

Weekly Downloads

1

Version

1.0.0

License

none

Last publish

Collaborators

  • christophercliff