fix: don't export __esModule = true by electron.ts (#20939)

This commit is contained in:
Milan Burda 2019-11-04 23:16:42 +01:00 committed by Samuel Attard
parent 267821831c
commit ee7ce3954a
3 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,6 @@
import { defineProperties } from '@electron/internal/common/define-properties'
import { moduleList } from '@electron/internal/sandboxed_renderer/api/module-list'
defineProperties(exports, moduleList)
module.exports = {}
defineProperties(module.exports, moduleList)