mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
22 lines
388 B
JavaScript
22 lines
388 B
JavaScript
/* MagicMirror² Test default config for modules
|
|
*
|
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
* MIT Licensed.
|
|
*/
|
|
exports.configFactory = function (options) {
|
|
return Object.assign(
|
|
{
|
|
electronOptions: {
|
|
webPreferences: {
|
|
nodeIntegration: true,
|
|
enableRemoteModule: true,
|
|
contextIsolation: false
|
|
}
|
|
},
|
|
|
|
modules: []
|
|
},
|
|
options
|
|
);
|
|
};
|