Ravi Shrestha
Ravi Shrestha
@system32uwu Glad that you resolve it 👍 The error you'd noticed at first for me was to set following contrainsts in the `webPreferences`: ``` - nodeIntegration: true - contextIsolation: false...
@shahkeyur I tried to deal this with adding a custom webpack script in a `custom.webpack.main.js` along with `babel.config.js` file at the root directory. So configurations are: `electron-webpack.json` ``` { "title":...
I'm having the same issue that `preload.js` file is not included in the distribution built app while in develop it runs ok. How can we bundle and include in build...
@shahkeyur Yes I have: `electron-webpack.json` ``` { "title": true, "commonSourceDirectory": "src/common", "staticSourceDirectory": "src/static", "main": { "extraEntries": ["@/preload.js"], "sourceDirectory": "src/main" }, "renderer": { "sourceDirectory": "src/renderer", "template": "src/index.html" } } ``` `src/main/index.js`...
@loopmode, > Hmm have you tried without the magic @ in the path? Tried with removing `@` and with full path `src/main/preload.js` - didn't work @shahkeyur, > @raviSussol Probably to...
Ignore my above comments. Got fixed by removing `file://` from the `window.loadFile` path. I realized that load file api just uses file path directly rather converting it to a url...