mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-04 06:46:05 +00:00
see #3358 used command: `find ./ -type f -exec perl -i -0pe 's/\/\*\s*magicmirror.*?\*\/\s*//si' {} \;` This is a first draft, I think we should preserve some of the comments.
17 lines
248 B
JavaScript
17 lines
248 B
JavaScript
exports.configFactory = (options) => {
|
|
return Object.assign(
|
|
{
|
|
electronOptions: {
|
|
webPreferences: {
|
|
nodeIntegration: true,
|
|
enableRemoteModule: true,
|
|
contextIsolation: false
|
|
}
|
|
},
|
|
|
|
modules: []
|
|
},
|
|
options
|
|
);
|
|
};
|