Skip to content

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

@mydea

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions