mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-02 17:35:08 +00:00
* [AAE-6360] added config and logo files to process cloud and stories lib * [AAE-6360] fixed build by adding unimplemented methods in form cloud mock service * [AAE-6360] added config files for core and content services * [AAE-6360] fixed bimport to correct build content-services storybook
27 lines
586 B
JavaScript
27 lines
586 B
JavaScript
const rootMain = require('../../../.storybook/main');
|
|
|
|
|
|
module.exports = {
|
|
...rootMain,
|
|
|
|
core: { ...rootMain.core, builder: 'webpack4' },
|
|
|
|
stories: [
|
|
...rootMain.stories,
|
|
'../**/*.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;
|
|
},
|
|
};
|