What is Nostr?
Zach Leatherman :11ty: /
npub19vz…zmql
2024-06-26 15:01:36

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!
Author Public Key
npub19vzl6trffwdlewfz5aantavdn5qn3sfs4lyhf5qfrjtphger8zxsrpzmql