electron-trpc
electron-trpc copied to clipboard
fix: invalid mjs bundle
fix #180
Deploy Preview for electron-trpc ready!
| Name | Link |
|---|---|
| Latest commit | a5e7d4eb7f287c26c2c254a28817ed8ae8120e9e |
| Latest deploy log | https://app.netlify.com/sites/electron-trpc/deploys/65a0c4db1f33b80008adf2b8 |
| Deploy Preview | https://deploy-preview-181--electron-trpc.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@jsonnull hello, would you like to help to confirm this PR?
@jsonnull hello, would you check this PR?
BUMP, need it for esm
Can this get pushed? I'm also running into this issue.
@jsonnull Hello, Seems like this repo is still active. Would you please check this out?
I can try and take a look at this. Been a bit busy, but this repo is still actively maintained and used by many.
@ylc395 I have a set of changes coming soon to address issues folks are having using ESM. It's going to be a major version bump in the library, but going forward modules will have test coverage and examples.
In the meantime, you have a few options:
- Use a bundler for your preload file. The electron docs recommend this, and before the changes to support ESM I have not supported using the library for preloads without a bundler. If you're self-imposing this constraint today, that is your decision.
- Hand-write (copy+paste) a preload file. IMO this is the easiest option, and this is safe until the major version bump, at which point you would have to address breaking changes regardless.
- Use pnpm patch or otherwise vendor a version of this library that is modified to your use-case.