08b7c9769a
* feat(#473): add positions metrics data provider * feat(#473) add positions stats * feat(#473) add positions stats * feat(#473): add positions stats * feat(#473): add positions stats * feat(#473): position metrics, test and refactoring * feat(#473): add unit tests to positions table * feat(#473): fix spelling, order positions by updated at desc * feat(#473): protect from division by 0 * feat(#473): fix trading positions e2e tests * feat(#473): fix e2e data mocks * feat(#473): post code review clean up
29 lines
702 B
JavaScript
29 lines
702 B
JavaScript
const rootMain = require('../../../.storybook/main');
|
|
|
|
module.exports = {
|
|
...rootMain,
|
|
|
|
core: { ...rootMain.core, builder: 'webpack5' },
|
|
|
|
stories: [
|
|
...rootMain.stories,
|
|
'../src/lib/**/*.stories.mdx',
|
|
'../src/lib/**/*.stories.@(js|jsx|ts|tsx)',
|
|
],
|
|
addons: [
|
|
...rootMain.addons,
|
|
'@nrwl/react/plugins/storybook',
|
|
'storybook-addon-themes',
|
|
],
|
|
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;
|
|
},
|
|
};
|