-
Notifications
You must be signed in to change notification settings - Fork 265
/
main.js
15 lines (12 loc) · 597 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*eslint-disable no-useless-escape*/
/*eslint-disable no-global-assign*/
'use strict';
// Executing the code from this file.
// It has dependencies that must be run without the esm module
const { setupWorkdayWaiverHandlers } = require('./main/workday-waiver-aux.js');
setupWorkdayWaiverHandlers();
// Using esm module to be able to mix node 'require' and ES6 'import' statements
// while we don't move to a newer electron+node system that has this by default
// See https://github.com/electron/electron/issues/21457.
require = require('esm')(module);
module.exports = require('./esm-main.js');