Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com> Co-authored-by: Thijs Louisse <thijs.louisse@ing.com> Co-authored-by: Joren Broekema <joren.broekema@ing.com> Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com> Co-authored-by: Erik Kroes <erik.kroes@ing.com> Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com>
13 lines
330 B
JavaScript
Executable file
13 lines
330 B
JavaScript
Executable file
import { configure } from '@storybook/polymer';
|
|
import { setOptions } from '@storybook/addon-options';
|
|
|
|
setOptions({
|
|
hierarchyRootSeparator: /\|/,
|
|
});
|
|
|
|
const req = require.context('../stories', true, /\.stories\.js$/);
|
|
function loadStories() {
|
|
req.keys().forEach(filename => req(filename));
|
|
}
|
|
|
|
configure(loadStories, module);
|