umbrella22

更新依赖修正带来的问题,但是cssloader仍在处理

......@@ -75,12 +75,9 @@ function startRenderer() {
heartbeat: 2500
})
compiler.hooks.compilation.tap('compilation', compilation => {
compilation.hooks.htmlWebpackPluginAfterEmit.tapAsync('html-webpack-plugin-after-emit', (data, cb) => {
hotMiddleware.publish({
action: 'reload'
})
cb()
compiler.hooks.afterEmit.tap('afterEmit', () => {
hotMiddleware.publish({
action: 'reload'
})
})
......
......@@ -116,9 +116,9 @@
"chalk": "^4.0.0",
"copy-webpack-plugin": "^6.0.3",
"cross-env": "^7.0.2",
"css-loader": "^4.0.0",
"css-loader": "^4.1.0",
"del": "^5.1.0",
"electron": "^9.1.1",
"electron": "^9.1.2",
"electron-builder": "^22.6.1",
"electron-devtools-installer": "^3.1.1",
"eslint": "^6.8.0",
......@@ -132,11 +132,11 @@
"eslint-plugin-standard": "^4.0.0",
"file-loader": "^6.0.0",
"happypack": "^5.0.1",
"html-webpack-plugin": "^3.2.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "0.9.0",
"multispinner": "^0.2.1",
"node-loader": "^1.0.0",
"portfinder": "^1.0.27",
"portfinder": "^1.0.28",
"sass": "^1.26.10",
"sass-loader": "^9.0.2",
"split2": "^3.1.1",
......