stunstunstun / koa-hmr-webpack

HMR with Koa2, Webpack4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

HMR with Koa2, Webpack4


Languages

Language:JavaScript 94.1%Language:CSS 5.9%