Jake Bailey
Jake Bailey
if rbush has written CJS code inside of a `js` file when `package.json` contains `"type": "module"`, then that code will actually crash at runtime and it's probably not worth trying...
I posted on https://github.com/mourner/rbush/issues/139 but I'm pretty sure 4.0.1 is still broken.
That's fair. Maybe write `
Eh, it's fine, I guess.
Go is a statically compiled language without good plugin support; porting your code to Go is unfortunately not going to be a solution that works when our package contains a...
Sorry, I meant to link https://github.com/microsoft/typescript-go/discussions/455, which is where discussion of the API is actually happening.
I also fat fingered the wrong button on my phone typing that earlier message out; I actually only meant to address the latter part of your comment about having to...
Have you considered using package.json import maps, which are supported by TS and all bundlers? (`paths` was never meant to be _prescriptive_, only _descriptive_.)
If you're using a plugin to do this already, then whatever build system you're using must either use our API, or patch tsc to add plugins. The latter just isn't...
IIRC this npm bug only happens when there's already a lockfile; if you remove it and node_modules, then install again, you should see all of the missing deps appear.