Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix package.json exports for Node.js < 12.20
We switched to “subpath patterns” recently (Node.js 12.20+) but hadn’t realised that “subpath exports” with trailing slashes (not asterisks) were still needed for older versions We need both flavours because trailing slashes in exports were deprecated in Node.js 16 https://nodejs.org/docs/latest-v18.x/api/deprecations.html#dep0148-folder-mappings-in-exports-trailing- Fixes: #3755
- Loading branch information