@danielbayerlein/hapi-webpack-middleware
v1.1.0
Published
hapi-webpack-middleware is a webpack middleware for hapi.js
Downloads
22
Maintainers
Readme
hapi-webpack-middleware
hapi-webpack-middleware is a webpack middleware for hapi.js.
:warning: Use this middleware only in development!
Full support for:
Installation
npm install webpack webpack-dev-middleware webpack-hot-middleware @danielbayerlein/hapi-webpack-middleware --save-dev
Usage
server.register({
register: require('@danielbayerlein/hapi-webpack-middleware'),
options: {
webpack: {},
webpackDev: {},
webpackHot: {}
}
}, (err) => {
if (err) {
throw err;
}
});
Configuration
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright
Copyright (c) 2016-2017 Daniel Bayerlein. See LICENSE for details.