perf: ~40ms improvement: Lazy load controllers and page components
This commit is contained in:
@@ -2,10 +2,10 @@ module.exports = {
|
||||
init
|
||||
}
|
||||
|
||||
const config = require('./config')
|
||||
const electron = require('electron')
|
||||
|
||||
function init () {
|
||||
const config = require('./config')
|
||||
const electron = require('electron')
|
||||
|
||||
electron.crashReporter.start({
|
||||
companyName: config.APP_NAME,
|
||||
productName: config.APP_NAME,
|
||||
|
||||
Reference in New Issue
Block a user