You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
The text was updated successfully, but these errors were encountered:
jeffreymb
changed the title
Injection of esm shims failes when project type is module.
Injection of esm shims fails when project type is module
Oct 1, 2024
Describe the bug
When using this together with sentry (https://github.com/getsentry/sentry-electron), the shimming of
__filename
and__dirname
fail.This can be reproduced with this repo: https://github.com/jeffreymb/electron_vite_sentry
I initially submitted an issue to sentry: getsentry/sentry-electron#992
Electron-Vite Version
2.3.0
Electron Version
32.1.2
Vite Version
5.4.8
Validations
The text was updated successfully, but these errors were encountered: