eruda-webpack-plugin
eruda-webpack-plugin copied to clipboard
内存泄露
macos: 10.13.4 nodejs: 12.10.0 koa: 2.8.1 webpack: 4.39.3
本地开发用的webpack-plugin-serve实现本地服务及热更新
复现条件:首次启动之后 -> 修改代码 -> 热更新中 -> 写入文件到磁盘(此状态产生内存泄露)
去除eruda-webpack-plugin 不存在泄露
具体配置:
new ErudaWebapckPlugin({
force: DEPLOY_ENV !== 'prd',
plugins: ['fps', 'features', 'timing', 'memory', 'code', 'dom']
})