We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in my electron-webpack.json
"extraEntries": [ "@/preload.js" ], "sourceDirectory": "src/main" }
and in my main process, in src/main/create-window.js
const win = new BrowserWindow({ minWidth: 1024, minHeight: 768, width: 1024, height: 768, webPreferences: { nodeIntegration: isDev, preload: path.join(__dirname, './preload.js') }, show: false })
however after I loaded the dev app, the script is not being loaded.
The text was updated successfully, but these errors were encountered:
@exiadb trypath.resolve and see if it works
path.resolve
Sorry, something went wrong.
Thanks, @walleXD it started working now!
Electron ------------------- path.resolve(__dirname, 'preload.js') /Users/***/electron-webpack-quick-start/src/main/preload.js ┗ ---------------------------- ┏ Electron ------------------- path.join(__dirname, 'preload.js') src/main/preload.js
the develop experience is really really bad
No branches or pull requests
in my electron-webpack.json
and in my main process,
in src/main/create-window.js
however after I loaded the dev app, the script is not being loaded.
The text was updated successfully, but these errors were encountered: