npm install leafletPer the source code's package.json, I expect dist/leaflet-src.esm.js to exist and be referenced by the module field, so webpack can optimise my bundle size and only import what I need. Instead, the file does not exist in node_modules/leaflet, and there's no reference to it in the imported package.json. The imported package.json does say version 1.3.1 though.

The latest release of Leaflet (v1.3.1) was done on January, 18th. ES modules were merged from https://github.com/Leaflet/Leaflet/pull/6021 on February 1st.
Nothing to do here, except wait patiently until the next release.
Maybe I'll have some time to release it next week
@cherniavskii I think this can be closed, ESM was included in 1.3.2
> ls -1 node_modules/leaflet/dist/
images
leaflet-src.esm.js
leaflet-src.esm.js.map
leaflet-src.js
leaflet-src.js.map
leaflet.css
leaflet.js
leaflet.js.map
Most helpful comment
Maybe I'll have some time to release it next week