@vixoniccom/module-packager 2.15.0-dev.2 → 2.15.0-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/electron.js CHANGED
@@ -30,12 +30,12 @@ function createWindow() {
30
30
  webPreferences: {
31
31
  preload: path.join(__dirname, 'launcher-preload.cjs'),
32
32
  nodeIntegration: false,
33
- contextIsolation: true,
33
+ contextIsolation: false,
34
34
  webSecurity: true,
35
35
  allowRunningInsecureContent: false,
36
36
  nodeIntegrationInSubFrames: false,
37
- sandbox: false, // required: preload needs require() for @electron/remote and module-controller
38
- webviewTag: true // required: preload creates the <webview> that hosts the app (Config #2)
37
+ sandbox: false,
38
+ webviewTag: true
39
39
  }
40
40
  });
41
41
  remoteMain.enable(mainWindow.webContents);
@@ -41,6 +41,7 @@ export default (env = {}, argv = {}) => {
41
41
  path: buildPath,
42
42
  filename: '[name].js',
43
43
  publicPath: isDev ? '/' : './',
44
+ globalObject: 'globalThis',
44
45
  },
45
46
  performance: {
46
47
  maxAssetSize: 2000000, //2MB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixoniccom/module-packager",
3
- "version": "2.15.0-dev.2",
3
+ "version": "2.15.0-dev.4",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "bin": {