require is not define on html script

103

require is not define on html script -

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

Comments

Submit
0 Comments