Replies: 2 comments
-
@merwaaan https://electron-vite.org/guide/assets#asset-handling |
Beta Was this translation helpful? Give feedback.
0 replies
-
@alex8088 The documentation states that such resources are not shared between main and renderer processes though: https://electron-vite.org/guide/assets#public-directory Is there any way to make this work? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Is it possible to share chunks between processes, in the sense that they are not duplicated in different build subdirectories?
Our use case:
This large DLL is copied to two locations on builds: out/main and out/preload.
We want to avoid that, which would halve our app's size.
Is it possible to copy it somewhere else and then import from that shared location for both processes?
Beta Was this translation helpful? Give feedback.
All reactions