-
-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
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
Adding extra resources includes the entire local repository #3334
Comments
no news here? @msimoni18 did you find a workaround? |
@elranu No, I haven't found any workaround. I think this may be the intended behavior. |
Even without |
@msimoni18 can you clarify if you're using a specific set of plugins/templates, or if this behaviour is reproducible with the base Forge config? |
@erickzhao I created a project using this template. Then I added a folder with some random files in a folder and added it as an extra resource in |
Can you upgrade |
We have the same issue with the entire app folder copied including node_modules... Any progress or workaround? |
Might fold this into #3738 |
Pre-flight checklist
Electron Forge version
6.4.1
Electron version
26.1.0
Operating system
macOS 12.6.5
Last known working Electron Forge version
No response
Expected behavior
When including the following code in
forge.config.ts
, I expected to only see a folder calledresources
inprocess.resourcesPath
.Actual behavior
Instead, there is also a folder called
app
that contains the entire local repository, making the final package almost 1GB. WithoutextraResource
, theapp
folder does not show up inprocess.resourcesPath
.Steps to reproduce
Add a folder in a top level directory, add that folder as an
extraResource
, then runelectron-forge make
.Additional information
No response
The text was updated successfully, but these errors were encountered: