This commit is contained in:
limqhz
2021-09-21 18:10:13 +08:00
parent c72e50c5e4
commit aa5faaaa2e
318 changed files with 44583 additions and 59 deletions

9
build/dev-client.js Normal file
View File

@@ -0,0 +1,9 @@
/* eslint-disable */
require('eventsource-polyfill')
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
hotClient.subscribe(function (event) {
if (event.action === 'reload') {
window.location.reload()
}
})