@danielbayerlein/hapi-webpack-middleware

hapi-webpack-middleware is a webpack middleware for hapi.js

Stats

StarsIssuesVersionUpdatedCreatedSize
@danielbayerlein/hapi-webpack-middleware
411.1.04 years ago5 years agoMinified + gzip package size for @danielbayerlein/hapi-webpack-middleware in KB

Readme

hapi-webpack-middleware

npm version Build Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2016-2017 Daniel Bayerlein. See LICENSE for details.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.