Skip to content

Updating @formatjs/intl-durationformat to 0.10.6 breaks builds #6467

@JE4GLE

Description

@JE4GLE

Which package?

@formatjs/intl-durationformat

Describe the bug

Building with the new update throws the following error:

Error: [vite]: Rolldown failed to resolve import "@formatjs/bigdecimal" from "/app/node_modules/.pnpm/@[email protected]/node_modules/@formatjs/intl-durationformat/polyfill.js".

@formatjs/bigdecimal is not listed as a dependency.

Expected behavior

@formatjs/bigdecimal is listed as a dependency of @formatjs/intl-durationformat, so package managers install it correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions