require is not define on html script

108

require is not define on html script -

mainWindow = new BrowserWindow({
        webPreferences: {
            nodeIntegration: true
        }
    });

Comments

Submit
0 Comments