-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unable to use ESM modules on Electron #57
Comments
It's up to you to use a bundler yourself if you need this for Electron. |
No, I meant using a bundler for this library. Even using a bundler on a project, doesn't solve the problem with ESM module |
This issue should be open. It's a very valid issue that is specific to the project. Other imports are fine, it's often up to the package to support various targets. @seahindeniz how did you get around this? |
I couldn't find a solution to this lib however, I just found out this one https://github.com/heyikang/ps-list. Maybe it could help |
Hello, Electron doesn't support ESM modules yet and the issue is still open electron/electron#21457.
Do you plan using a bundler (Vite, etc.) to build and release multiple types?
If you accept PR, I could give a hand 🤚
The text was updated successfully, but these errors were encountered: