Are you willing to submit a PR to fix? (Yes, No) No
Requested priority: (Blocking, High, Normal, Low) Normal
Products/sites affected: (if applicable)
The Divider custom example does not load when loaded as an AMD module with require.js.
The Divider import in VerticalDivider.Custom.Example should be:
import { VerticalDivider, IVerticalDividerClassNames } from 'office-ui-fabric-react/lib/Divider';
Uncaught JavaScript error thrown by require.js:
Uncaught Error: Script error for "office-ui-fabric-react/lib/components/Divider", needed by: office-ui-fabric-react/lib/components/Divider/examples/VerticalDivider.Custom.ExampleThe example should load and render correctly.
````html
There is a similar issue with the DetailsList import in DetailsList.Shimmer.Example. It should be:
import { DetailsListLayoutMode, IColumn } from 'office-ui-fabric-react/lib/DetailsList';
@JasonGore I could take a closer look but is this and this class of issues fixed with your checkin?
Hmm it is still broken in master :\
Co-assigning to @JasonGore because he has done a deep investigation of this today. Jason, please feel free to let us know if you will not have cycles to look into it.
This is a separate class of issue (or feature.) I only addressed import statement regex matching issues. It looks like the script is currently written to only check relative paths, not absolute paths like package imports, so it doesn't find this class of issue.
I will take this bug off @natalieethell.
@joechung-msft fixed in #5790. Thanks for reporting.