webpack-globals-provider.ts 267 B

12345678
  1. // Captures original globals into a scope to ensure that userland modifications do
  2. // not impact Electron. Note that users doing:
  3. //
  4. // global.Promise.resolve = myFn
  5. //
  6. // Will mutate this captured one as well and that is OK.
  7. export const Promise = global.Promise;