koa-hmr-webpack:Koa2 和 Webpack4 中的 HMR

Koa-webpack-example 用于开发 Koa2 和 Webpack 的开发和生产环境。它利用 HMR 实现客户端和服务器代码的热模块重装,无需重启节点服务器或刷新浏览器即可查看更改。

安装:yarn install

开发模式:yarn start

生产模式:yarn build

使用 PM2:yarn serve

许可证:MIT

zip
koa-hmr-webpack-master.zip 预估大小:19个文件
folder
koa-hmr-webpack-master 文件夹
file
.gitignore 39B
file
.babelrc 24B
file
.eslintrc 230B
file
package.json 2KB
folder
src 文件夹
folder
media 文件夹
file
webpack.svg 679B
file
index.js 272B
folder
styles 文件夹
file
main.scss 350B
file
webpack.config.js 1KB
file
.nvmrc 5B
file
webpack.dev.config.js 584B
file
README.md 475B
file
hmr.js 1KB
folder
config 文件夹
file
index.js 252B
file
webpack.base.config.js 809B
file
phases.js 195B
file
paths.js 225B
file
.eslintignore 27B
file
server.js 1KB
file
yarn.lock 253KB
zip 文件大小:73.3KB