Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using Electron 34 which should have full support for ESM, requiring no transpilation to commonjs. How do I configure Electron Vite to avoid commonjs transpilation?
Specifically, I'm trying to replace my top-level
require()
with top-levelawait import()
, but they don't work, and I believe it's related to commonjs transpilation.require()
withawait import()
felipecrs/clipboard-sync#183Or, if you have any clue on what else the problem could be, I would deeply appreciate.
Beta Was this translation helpful? Give feedback.
All reactions