mirror of
https://github.com/atom/atom.git
synced 2026-02-18 18:34:21 -05:00
Use the snapshot result to require core modules
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
if (typeof snapshotResult !== 'undefined') {
|
||||
snapshotResult.setGlobals(global, process, {}, require)
|
||||
}
|
||||
|
||||
const startTime = Date.now()
|
||||
|
||||
const electron = require('electron')
|
||||
|
||||
Reference in New Issue
Block a user