mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-02 17:35:08 +00:00
* 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>
27 lines
594 B
JavaScript
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;
|
|
},
|
|
};
|