SimonDegraeve / hapi-webpack-plugin

Webpack middleware for Hapi. Supports HMR.
57 stars 25 forks source link

Updated package to work with Webpack 2 #12

Closed mashaalmemon closed 7 years ago

mashaalmemon commented 7 years ago

Hi there @SimonDegraeve,

I noticed that #10 regarding Webpack 2 compatibility was an outstanding issue. As such I've made minor changes to have the package work with Webpack 2.

Specifically:

No changes were necessary to the plugin code itself itself. Ultimately all config options are passed on to the respective webpack middleware packages as was done previously.

I've tested the plugin in my environment and it works for me.

Note:

Do let me know if you have any questions.