Browse Source

Bugfix/missing assets in Storybook (#4324)

* fix(sb): add staticDirs config

* fix(sb): improve config type safety

* Update changelog
pull/4321/head^2
Ken Tandrian 1 month ago
committed by GitHub
parent
commit
02a4e27083
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      CHANGELOG.md
  2. 7
      libs/ui/.storybook/main.js

6
CHANGELOG.md

@ -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

7
libs/ui/.storybook/main.js

@ -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…
Cancel
Save