Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(package.json): add package.json to exports #77

Closed
wants to merge 1 commit into from

Commits on Nov 30, 2022

  1. fix(package.json): add package.json to exports

    If you are using bundlers like metro in rn-native (or tools that make use of metainformation of packages) you will recieve an import warning like:
    ```
    warn Package pretty-bytes has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/****/Applications/****/****/app/node_modules/pretty-bytes/package.json
    ```
    
    There was a similar Issue in `uuidjs`, for discussion you can see this issue uuidjs/uuid#444 (comment)
    tastydev committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    3bd2dc0 View commit details
    Browse the repository at this point in the history