Skip to content
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

Add support for electron and electron-vite #751

Open
ElPrudi opened this issue Aug 8, 2024 · 1 comment
Open

Add support for electron and electron-vite #751

ElPrudi opened this issue Aug 8, 2024 · 1 comment
Labels
feature request Feature request

Comments

@ElPrudi
Copy link
Contributor

ElPrudi commented Aug 8, 2024

Hi, it seems electron is getting a lot of love in the recent years and it's rising tremendously with new template builder like electron-vite. But it seems like knip lacks support for anything electron related, marking everything as unused because of faulty entrypoints. It would be great, if you could add some support for it!

@ElPrudi ElPrudi added the feature request Feature request label Aug 8, 2024
@webpro
Copy link
Collaborator

webpro commented Aug 19, 2024

Perhaps you could shed some light on a few things:

  • Any projects out there already using Knip in an Electron project? E.g. if it's just missing entry points and/or handling a bit of Electron config it could be a plugin, in which case this request should be added to Request new plugins here #483.
  • Do you think/know about problematic areas such as custom module resolution? React Native has some challenges in this area (i.e. requires quite some work/maintenance), which ultimately led to abandoning Platform-specific extensions​ #126.
  • Perhaps got some links to relevant docs?
  • Anything else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants