Simen Bekkhus
Simen Bekkhus
This isn't really connected to the bundler, but TypeScript itself. Main issue here is that we import `jimp/es` which fakes being ES Modules (it uses `require`: https://www.runpkg.com/[email protected]/es/index.js#3) but the types...
OK, this works (previous version needed a manual `.default`) new diff ```diff diff --git c/dist/jimp.cjs w/dist/jimp.cjs index 6b084d2..167a3a1 100644 --- c/dist/jimp.cjs +++ w/dist/jimp.cjs @@ -11865,7 +11865,7 @@ ]); }); },...
"ESM friendly syntax" is sorta broken by `module.exports = jimp` (i.e. explicit CJS) - mixing both types in the same module is sorta smelly - just accepting it's CJS and...
FWIW, I tried to bundle into ESM, but it seems to not work as then the entire file needs to be ESM and `jimp` [uses `__dirname`](https://www.runpkg.com/?@jimp/[email protected]/dist/index.js#97). Might be something we...
Being `require` free but not `exports` free seems weird to me, but of course it'll work out 🙂 So if that's what you want you should go for it
`jimp` ships with types, so that won't work. Integrating something like https://api-extractor.com/ might be a good idea 🙂 Workaround for us is `jimp` as a dev dependency, then in a...
Cool, can remove our own `declare module 'jimp-compact'` with that 👍 I'm hoping you can get `api-extractor` (or something similar) to work so we can also drop the dev dep...
@chiefGui As you seem to be maintaining this now, could you merge this? I don't need test, documentation, gruntfile or extra copies of libraries (5 backbone, one jquery and one...
@chiefGui ping
Well, it's possible, of course, but I don't think so. As I said, the tests all go through when using the command-line If using IE9 when running jasmine:test, it takes...