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

Support for ESM #2

Open
lbassani12 opened this issue Sep 19, 2024 · 1 comment
Open

Support for ESM #2

lbassani12 opened this issue Sep 19, 2024 · 1 comment

Comments

@lbassani12
Copy link

Hi Flavio!

I've recently started a proyect with this boilerplate and it's fantastic. But I've stumble upon a problem when trying to use
ESM pure packages, such as electron-store.

Why have you decided to go with commonJS instead of ESM?

Do you have in mind migrating to ESM?

Thanks a lot!

Cheers

@flaviodelgrosso
Copy link
Owner

Hi Flavio!

I've recently started a proyect with this boilerplate and it's fantastic. But I've stumble upon a problem when trying to use ESM pure packages, such as electron-store.

Why have you decided to go with commonJS instead of ESM?

Do you have in mind migrating to ESM?

Thanks a lot!

Cheers

Hi @lbassani12

Thank you so much for your feedback—it’s greatly appreciated!

The decision to go with CJS isn't entirely mine. Encountered several challenges with ESM, including issues like the one discussed here electron/forge#3439.

That said, I’ll definitely give a look at it to handle your needs.

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

No branches or pull requests

2 participants