Build for ESM #344
Unanswered
Konglomneshued
asked this question in
Q&A
Replies: 4 comments 2 replies
-
The correct option is |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
It seems that electron-vite forces to use
|
Beta Was this translation helpful? Give feedback.
0 replies
-
electron-vite 2 will support ESM in Electron. It's under testing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm stuck trying to figure out how to get the out dir files to be in ESM instead of CJS when I run
npm run dev
.My package.json includes:
tsconfig.node.json:
tsconfig.web.json:
electron.vite.config.ts:
Beta Was this translation helpful? Give feedback.
All reactions