mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +03:00
10 lines
274 B
JavaScript
10 lines
274 B
JavaScript
module.exports = require('electron').remote;
|
|
|
|
const Grim = require('grim');
|
|
Grim.deprecate(
|
|
'Use `require("electron").remote` instead of `require("remote")`'
|
|
);
|
|
|
|
// Ensure each package that requires this shim causes a deprecation warning
|
|
delete require.cache[__filename];
|