Skip to content

bug: "Module not found: Default condition should be last one" #6821

Closed

Description

@mydea

Provide environment information

Since 11.4.0, this fails for us at build time with: "Module not found: Default condition should be last one". I guess the reason is that here: v11.3.1...v11.4.0#diff-26d3d28d31824ef26252df77cca08d24faea8451cb8fd3ffee2000f9e496daa0 The default cases need to be after the types cases.

Describe the bug

Fails at build.

Link to reproduction

https://github.com/getsentry/sentry-javascript/actions/runs/15610859326/job/43971394550?pr=16566

To reproduce

https://github.com/getsentry/sentry-javascript/actions/runs/15610859326/job/43971394550?pr=16566

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd be down to file a PR fixing this bug!

Activity

  1. added
    🐛 bug
    and removed on Jun 13, 2025
  2. github-actions commented on Jun 14, 2025

    @github-actions
    Contributor

    This issue has been locked because we are very unlikely to see comments on closed issues. If you are running into a similar issue, please create a new issue. Thank you.

  3. locked as resolved and limited conversation to collaborators on Jun 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions