hapi-webpack
v1.0.0
Published
A Hapi plugin for building and serving Webpack bundles.
Downloads
3
Readme
hapi-webpack
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.