You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All controls should work with WebPack 5 that is used in SPFx 1.19.0
Observed Behavior
Controls that uses imports from FluentUI that are not specified in the package.json fails when using WebPack 5
Steps to Reproduce
Add a control using an unsupported import and build in a SPFx 1.19.0 project.
Examples:
//PropertyFieldSwatchColorPickerimport{getColorFromString}from'@fluentui/react/lib/utilities/color/colors';//should instead be import{getColorFromString}from'@fluentui/react/lib/Color';//PropertyFieldDropdownWithCalloutHostimport{Dropdown,IDropdownProps,IDropdownOption}from'@fluentui/react/lib/components/Dropdown';//should instead be import{Dropdown,IDropdownProps,IDropdownOption}from'@fluentui/react/lib/Dropdown';
@FredrikEkstroem
we are also getting the same error, We tried using beta versions of above mentioned packages. However, we are not keen on using beta packages in our solutions
Category
Version
3.17.0
Expected / Desired Behavior / Question
All controls should work with WebPack 5 that is used in SPFx 1.19.0
Observed Behavior
Controls that uses imports from FluentUI that are not specified in the package.json fails when using WebPack 5
Steps to Reproduce
Add a control using an unsupported import and build in a SPFx 1.19.0 project.
Examples:
Reference: SPFx 1.19.0 - Error during build with [object Object] errors that didn't happen in previous versions
The text was updated successfully, but these errors were encountered: