hapi-webpack-plugin
hapi-webpack-plugin copied to clipboard
React hot reloader example
Could you please provide either a react-hot-loader
or react-transform
example? I haven't been able to get those working with this plugin.
+1 @SimonDegraeve
Like the other two, I would love to see a simple example. Being new to WebPack and HMR its very difficult to wrap my head around how to setup my webpack.config.js file to work. If you give me some hints (besides read the docs, that isn't getting me far) and I get it working, I'll even submit a PR with a simple sample.
Nevermind, figured it out, I'll be posting an example project soon and will post a link.
And, here is the example code: https://github.com/jdarling/hapi-react-redux-hmr
Gotta admit, its probably a bit more than a simple example needs. Its basically my project stripped down to a basic boiler plate.
I've also created a very basic example of using this Hapi plugin with the react-transform
babel plugin. It is not a boilerplate but was created just to demonstrate how to get this up and running.
https://github.com/adam-beck/hapi-plz