Skip to content

Is it possible to configure this to use exclusively modules and no commonjs? #67

Answered by Deluze
mapleroyal asked this question in Q&A
Discussion options

You must be logged in to vote

What version of Electron are you on?

ESM support was added in Electron 28, this template is still on Electron 27. You should be able to update this version with ease.
There are some things to keep in mind though, Electron has a documentation page regarding ESM support: https://www.electronjs.org/docs/latest/tutorial/esm

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mapleroyal
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants