Bugfix/missing assets in Storybook (#4324)
* fix(sb): add staticDirs config * fix(sb): improve config type safety * Update changelog
This commit is contained in:
parent
57673046e7
commit
02a4e27083
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Fixed
|
||||
|
||||
- Added missing assets in _Storybook_ setup
|
||||
|
||||
## 2.139.1 - 2025-02-15
|
||||
|
||||
### Added
|
||||
|
@ -1,9 +1,16 @@
|
||||
/** @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)']
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user