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

Bugfix. Properly set exports value in package.json #708

Merged
merged 1 commit into from
May 7, 2024

Commits on May 7, 2024

  1. Bugfix. Properly set exports value in package.json

    Otherwise the following error appears when importing from Strophe:
    ```
    Module not found: Error: Package path . is not exported from package
    ```
    
    From what I can tell looking at the documentation (https://webpack.js.org/guides/package-exports),
    the previous values are invalid since they don't start with a `.`, so I removed them.
    
    Leaving them in also caused this error:
    ```
    Module not found: Error: Exports field key should be relative path and start with "." (key: "node")
    ```
    jcbrand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    120807d View commit details
    Browse the repository at this point in the history