Enable the storybook for process-services-clod (#7286)

This commit is contained in:
Maurizio Vitale
2021-10-08 11:48:28 +01:00
committed by GitHub
parent 8e9bf9cc9b
commit 3bcc106a0d
12 changed files with 22355 additions and 53 deletions

View File

@@ -0,0 +1,27 @@
const rootMain = require('../../../.storybook/main');
module.exports = {
...rootMain,
core: { ...rootMain.core, builder: 'webpack4' },
stories: [
...rootMain.stories,
'../src/lib/**/*.stories.mdx',
'../src/lib/**/task-header-cloud.component.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;
},
};