Open zhaotoday opened 1 month ago
May you provide a good use case for that shared example?
I have a different use case.
I have my core functionality, which I want to produce as an Electron app, but also as a CLI app and as a package.
To achieve that in the right way, I want to put my logic in a package
, and then consume it in my main
and cli
packages.
Is your feature request related to a problem? Please describe. Here's a small suggestion: Can we place a 'shared' directory in the 'packages' directory to store common code, which can be used by 'main', 'preload', and 'renderer' simultaneously?