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 bug that matches the one I want to file, without success.
Electron Forge version
7.4.0
Electron version
29.2.0
Operating system
macOS 14.5
Last known working Electron Forge version
No response
Expected behavior
When building an app with optional dependencies and the Vite plugin, optional dependencies are included in the build output.
Actual behavior
Optional dependencies are excluded from the output.
Steps to reproduce
Build a project using https://github.com/lovell/sharp, which has optional dependencies. They will not be in the packaged node_modules, and so their native binaries can not be copied.
Additional information
Adding them as dependencies is a poor solution, since they are platform-specific.
The text was updated successfully, but these errors were encountered:
Pre-flight checklist
Electron Forge version
7.4.0
Electron version
29.2.0
Operating system
macOS 14.5
Last known working Electron Forge version
No response
Expected behavior
When building an app with optional dependencies and the Vite plugin, optional dependencies are included in the build output.
Actual behavior
Optional dependencies are excluded from the output.
Steps to reproduce
Build a project using https://github.com/lovell/sharp, which has optional dependencies. They will not be in the packaged node_modules, and so their native binaries can not be copied.
Additional information
Adding them as dependencies is a poor solution, since they are platform-specific.
The text was updated successfully, but these errors were encountered: