Electron can have multiple BrowserWindow instances. Each of them can configure webPreferences and have different settings for nodeIntegration.
Since nodeIntegration is "per window", I don't know if it makes sense to have a global build setting for nodeIntegration.