jimp
jimp copied to clipboard
avoid relying on __dirname global constant
Fixes #1235
What's Changing and Why
Removed usage of global variable __dirname
to avoid errors when bundling with rollup
What else might be affected
Tasks
- [ ] Add tests
- [ ] Update Documentation
- [ ] Update
jimp.d.ts
- [ ] Add SemVer Label
Hey hey @Javier-Rotelli @hipstersmoothie, any plan to get this merged ? 👀 It's really blocking when using Vite…
We would have to make sure it works for all envs, not just modules
Fix in https://github.com/jimp-dev/jimp/pull/1310