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

build: fix fluentui imports for webpack #620

Closed
wants to merge 1 commit into from

Conversation

JakeStanger
Copy link
Contributor

Q A
Bug fix? [x]
New feature? [ ]
New sample? [ ]
Related issues? fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?

The latest version of Fluent UI specifies a list of exported modules in its package.json. Only these exports can be safely imported. With SPFx 1.19 and Webpack 5, using other exports will crash while creating the bundle.

This PR updates the imports throughout the project to use the correct exports, which will allow the project to be used with the latest SPFx toolchain.

The latest version of Fluent UI specifies a list of exported modules in its package.json. Only these exports can be safely imported. With SPFx 1.19 and Webpack 5, using other exports will crash while creating the bundle.

This PR updates the imports throughout the project to use the correct exports, which will allow the project to be used with the latest SPFx toolchain.
@JakeStanger
Copy link
Contributor Author

I've just seen #618 🤦

@JakeStanger JakeStanger closed this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant