mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* Create a stories lib to make all the adf stories available * Run the test with a diff ext type * sunc nx file
29 lines
720 B
JavaScript
29 lines
720 B
JavaScript
const rootMain = require('../../../.storybook/main');
|
|
|
|
|
|
module.exports = {
|
|
...rootMain,
|
|
|
|
core: { ...rootMain.core, builder: 'webpack4' },
|
|
|
|
stories: [
|
|
...rootMain.stories,
|
|
'../../core/**/*.stories.@(js|jsx|ts|tsx)',
|
|
'../../content-services/**/*.stories.@(js|jsx|ts|tsx)',
|
|
'../../process-services-cloud/**/*.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;
|
|
},
|
|
};
|