warp-contracts / warp

An implementation of the Arweave SmartWeave smart contracts protocol.
MIT License
159 stars 44 forks source link

fix(exports): fix browser and web exports #514

Closed dtfiedler closed 8 months ago

dtfiedler commented 8 months ago

By default - any project using /web should get mjs build - not the bundled version with no default export. Also cleans up redundant types.

Fixes the error in #505

You can optionally remove the browser field in /mjs given only projects using nodenext can access named exports - but i'll leave that to you.