tomgny 033ac9ebae
[AAE-5952] Storybook stories for task-header-cloud component (#7287)
* Enable the storybook for process-services-clod

* [AAE-5952] added few stories

* [AAE-5952] added additional extensions for process cloud config

* [AAE-5952] added few stories

* [AAE-5952] added additional extensions for process cloud config

* [AAE-5952] added stories for claim by user, group and invalid app and task story separation

* [AAE-5952] mmock assigned user

* [AAE-5952] added task cloud interface

* [AAE-5952] improved formatting

* Use relative path

* [AAE-5952] fixed lint errors

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
2021-10-13 11:34:14 +01:00

27 lines
594 B
JavaScript

const rootMain = require('../../../.storybook/main');
module.exports = {
...rootMain,
core: { ...rootMain.core, builder: 'webpack4' },
stories: [
...rootMain.stories,
'../src/lib/**/*.stories.@(js|jsx|ts|tsx)'
],
addons: [...rootMain.addons ],
webpackFinal: async (config, { configType }) => {
// apply any global webpack configs that might have been specified in .storybook/main.js
if (rootMain.webpackFinal) {
config = await rootMain.webpackFinal(config, { configType });
}
// add your own webpack tweaks if needed
return config;
},
};