umbrella22

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

...@@ -75,13 +75,10 @@ function startRenderer() { ...@@ -75,13 +75,10 @@ function startRenderer() {
75 heartbeat: 2500 75 heartbeat: 2500
76 }) 76 })
77 77
78 - compiler.hooks.compilation.tap('compilation', compilation => { 78 + compiler.hooks.afterEmit.tap('afterEmit', () => {
79 - compilation.hooks.htmlWebpackPluginAfterEmit.tapAsync('html-webpack-plugin-after-emit', (data, cb) => {
80 hotMiddleware.publish({ 79 hotMiddleware.publish({
81 action: 'reload' 80 action: 'reload'
82 }) 81 })
83 - cb()
84 - })
85 }) 82 })
86 83
87 compiler.hooks.done.tap('done', stats => { 84 compiler.hooks.done.tap('done', stats => {
......
...@@ -116,9 +116,9 @@ ...@@ -116,9 +116,9 @@
116 "chalk": "^4.0.0", 116 "chalk": "^4.0.0",
117 "copy-webpack-plugin": "^6.0.3", 117 "copy-webpack-plugin": "^6.0.3",
118 "cross-env": "^7.0.2", 118 "cross-env": "^7.0.2",
119 - "css-loader": "^4.0.0", 119 + "css-loader": "^4.1.0",
120 "del": "^5.1.0", 120 "del": "^5.1.0",
121 - "electron": "^9.1.1", 121 + "electron": "^9.1.2",
122 "electron-builder": "^22.6.1", 122 "electron-builder": "^22.6.1",
123 "electron-devtools-installer": "^3.1.1", 123 "electron-devtools-installer": "^3.1.1",
124 "eslint": "^6.8.0", 124 "eslint": "^6.8.0",
...@@ -132,11 +132,11 @@ ...@@ -132,11 +132,11 @@
132 "eslint-plugin-standard": "^4.0.0", 132 "eslint-plugin-standard": "^4.0.0",
133 "file-loader": "^6.0.0", 133 "file-loader": "^6.0.0",
134 "happypack": "^5.0.1", 134 "happypack": "^5.0.1",
135 - "html-webpack-plugin": "^3.2.0", 135 + "html-webpack-plugin": "^4.3.0",
136 "mini-css-extract-plugin": "0.9.0", 136 "mini-css-extract-plugin": "0.9.0",
137 "multispinner": "^0.2.1", 137 "multispinner": "^0.2.1",
138 "node-loader": "^1.0.0", 138 "node-loader": "^1.0.0",
139 - "portfinder": "^1.0.27", 139 + "portfinder": "^1.0.28",
140 "sass": "^1.26.10", 140 "sass": "^1.26.10",
141 "sass-loader": "^9.0.2", 141 "sass-loader": "^9.0.2",
142 "split2": "^3.1.1", 142 "split2": "^3.1.1",
......