You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the code of conduct that this project uses.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem description
I try to use vite plugin but I have everything configured to output to ./dist. I'm getting following error:
An unhandled rejection has occurred inside Forge:
Error: Electron Forge is configured to use the Vite plugin. The plugin expects the
"main" entry point in "package.json" to be ".vite/*" (where the plugin outputs
the generated files). Instead, it is "dist/electron/src/main.js"
I've check code and search for this issue. Why we cannot specify custom output dir? Why it is hardcoded
Pre-flight checklist
Problem description
I try to use vite plugin but I have everything configured to output to
./dist
. I'm getting following error:I've check code and search for this issue. Why we cannot specify custom output dir? Why it is hardcoded
my vite.main.config.ts looks like this:
Proposed solution
Allow for custom baseDir
Alternatives considered
Remove hardcoded code
Additional information
No response
The text was updated successfully, but these errors were encountered: