My least favourite thing about working in JavaScript/Typescript these days is all the churn around how modules get imported. All the incomprehensible different vite/TS/etc config settings about module resolution etc.
Stuff just...breaks.
Why does this project suddenly think there's no default export from my library? No idea.
Someone reminded me this week of a fun Mapbox style I created a few years back, in a medieval theme.
I really love ChatGPT for stuff like this.
I was pretty sure the function I needed was in Turf somewhere but couldn't find it.