mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Only call browserify when one of sandbox sources change
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
// Any requires added here need to be added to the browserify_entries array
|
||||
// in filenames.gypi so they get built into the preload_bundle.js bundle
|
||||
|
||||
module.exports = function (ipcRenderer, binding) {
|
||||
ipcRenderer.send = function (...args) {
|
||||
return binding.send('ipc-message', args)
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// Any requires added here need to be added to the browserify_entries array
|
||||
// in filenames.gypi so they get built into the preload_bundle.js bundle
|
||||
|
||||
/* eslint no-eval: "off" */
|
||||
/* global binding, preloadPath, process, Buffer */
|
||||
const events = require('events')
|
||||
|
||||
Reference in New Issue
Block a user