Skip to content

stunstunstun/koa-hmr-webpack

Repository files navigation

koa-webpack-example

Overview

Koa2 and webpack environment for development, production.

Hot Module Reload

HMR for client side and server side code, which means you'll never need to restart your node server or refresh your browser to see the changes.

Install

$ yarn install

Run as development

$ yarn start

Build for production

$ yarn build

Serve with PM2

$ yarn serve

License

MIT