Zach Leatherman :11ty: on Nostr: One lesson I’m taking away from the axobject-query incident: there isn’t a formal ...
One lesson I’m taking away from the axobject-query incident: there isn’t a formal agreement about which npm packages are isomorphic JavaScript friendly (intended for both client & server).
Notably the `browser` key in package.json is documented as to be used *instead* of `main` (not both): https://docs.npmjs.com/cli/v10/configuring-npm/package-json#browser (and axobject-query does not use `browser`)
Assuming that packages are client bundle friendly without tacit agreement from the maintainers of those packages is perilous!
Notably the `browser` key in package.json is documented as to be used *instead* of `main` (not both): https://docs.npmjs.com/cli/v10/configuring-npm/package-json#browser (and axobject-query does not use `browser`)
Assuming that packages are client bundle friendly without tacit agreement from the maintainers of those packages is perilous!