flightcontrolhq / superjson

Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more.
https://www.flightcontrol.dev?ref=superjson
MIT License
4.01k stars 87 forks source link

add "main" to package.json #264

Closed kidqueb closed 11 months ago

kidqueb commented 11 months ago

If I'm not mistaking "main": "./dist/index.js" would have no effect when "exports" is defined. Right now it's required to resolve the module within a monorepo react-native app.

Skn0tt commented 11 months ago

@all-contributors please add @kidqueb for bug, code

allcontributors[bot] commented 11 months ago

@Skn0tt

I've put up a pull request to add @kidqueb! :tada:

Skn0tt commented 11 months ago

Published in https://github.com/blitz-js/superjson/releases/tag/v2.1.0