Skip to content

[Bug]: fluentui-react.* files removed from "dist" folder #32189

@isaacmissinghamwt

Description

@isaacmissinghamwt

Library

React / v8 (@fluentui/react)

System Info

NA

Are you reporting an Accessibility issue?

None

Reproduction

https://codepen.io/pen/?template=jOVZXaW

Bug Description

Actual Behaviour

Using https://unpkg.com/@fluentui/react@8/dist/fluentui-react.umd.js results in

Cannot find "/dist/fluentui-react.umd.js" in @fluentui/react@8.120.1

Linked CodePen shows a blank page as dist folder now only has react.d.ts within it, perfectly exemplifying the issue.

Expected Behaviour

Expected that fluentui-react.* files remain in the "dist" folder.

Unfortunately, we are not in a position to roll a hotfix by changing the <script> tag to https://unpkg.com/@fluentui/react@8.120.0/dist/fluentui-react.umd.js.

It would be ideal if backward compatibility with applications expecting a fluentui-react.* file was maintained with updates, at least until the next major version, where release notes/a warning would give time to adjust.

Only started occurring since package update 6 or so hours ago.

Logs

No response

Requested priority

High

Products/sites affected

All our customers

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions