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
Hello, with bundle analyzer noticed that fabric ui bundle is included in my resulting package.
Im using @microsoft/office-ui-fabric-react-bundle instead of office-ui-fabric-react to avoid fabric ui being added to every webpart package.
Anyway, even without SPFX's version of Fabric UI it's still included in the package.
Here's code which imports sp-client-custom-fields
import { PropertyFieldPicturePicker } from 'sp-client-custom-fields/lib/PropertyFieldPicturePicker';
import { PropertyFieldColorPicker } from 'sp-client-custom-fields/lib/PropertyFieldColorPicker';
As you can see on the picture it's including almost whole Fabric UI.
Is there any way to make it an external library?
The text was updated successfully, but these errors were encountered:
Hello, with bundle analyzer noticed that fabric ui bundle is included in my resulting package.
![image](https://user-images.githubusercontent.com/32567749/45484995-b5d14600-b75e-11e8-8c86-1b3ba7c97bba.png)
Im using
@microsoft/office-ui-fabric-react-bundle
instead ofoffice-ui-fabric-react
to avoid fabric ui being added to every webpart package.Anyway, even without SPFX's version of Fabric UI it's still included in the package.
Here's code which imports
sp-client-custom-fields
As you can see on the picture it's including almost whole Fabric UI.
Is there any way to make it an external library?
The text was updated successfully, but these errors were encountered: