I need an unreleased upstream fix in leaflet.
If I switch leaflet to use GitHub URL in my package.json:
"leaflet": "github:Leaflet/Leaflet#main",
Then I get this error starting my React app:
Failed to compile.
./node_modules/@react-leaflet/core/lib/dom.js
Module not found: Can't resolve 'leaflet' in '/workspaces/jefmap/node_modules/@react-leaflet/core/lib'