Ken Tandrian 02a4e27083
Bugfix/missing assets in Storybook (#4324)
* fix(sb): add staticDirs config

* fix(sb): improve config type safety

* Update changelog
2025-02-16 08:47:44 +01:00

22 lines
619 B
JavaScript

/** @type {import('@storybook/angular').StorybookConfig} */
const config = {
addons: ['@storybook/addon-essentials'],
framework: {
name: '@storybook/angular',
options: {}
},
staticDirs: [
{
from: '../../../apps/client/src/assets',
to: '/assets'
}
],
stories: ['../**/*.stories.@(js|jsx|ts|tsx|mdx)']
};
export default config;
// To customize your webpack configuration you can use the webpackFinal field.
// Check https://storybook.js.org/docs/react/builders/webpack#extending-storybooks-webpack-config
// and https://nx.dev/packages/storybook/documents/custom-builder-configs