Files
MagicMirror/tests/configs/default.js
T

20 lines
339 B
JavaScript
Raw Normal View History

2025-07-01 00:10:47 +02:00
if (typeof exports === "object") {
// running in nodejs (not in browser)
exports.configFactory = (options) => {
return Object.assign(
{
electronOptions: {
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
contextIsolation: false
}
},
2021-07-05 00:33:50 +02:00
2025-07-01 00:10:47 +02:00
modules: []
},
options
);
};
}