mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-10105] Update Storybook to 6.5.10v (#7765)
* [AAE-10266] storybook 6.4.19 fix * [AAE-10266] test storybook config * [AAE-10266] Fix storybook config * downgrade nrwl workspace to previous version * remove duplicated logo * downgrade nrwl version * downgrade nrwl packages * Trigger travis * fix playwright config * Fix storybook execute command * Fix Playwright config v2 * Remove useless command Co-authored-by: MichalFidor <michal.fidor@hyland.com>
This commit is contained in:
@@ -1,26 +1,16 @@
|
||||
const rootMain = require('../../../.storybook/main');
|
||||
|
||||
|
||||
module.exports = {
|
||||
...rootMain,
|
||||
|
||||
core: { ...rootMain.core, builder: 'webpack5' },
|
||||
|
||||
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;
|
||||
},
|
||||
staticDirs: [
|
||||
...rootMain.staticDirs,
|
||||
{ from: '../../core/i18n', to: 'assets/adf-core/i18n' },
|
||||
{ from: __dirname + '/../src/lib/i18n', to: 'assets/adf-process-services-cloud/i18n' }
|
||||
],
|
||||
addons: [...rootMain.addons ]
|
||||
};
|
||||
|
Reference in New Issue
Block a user