refactor: add static assets to storybook

This commit is contained in:
2025-08-21 23:41:55 -03:00
parent 18e2e354a7
commit c8389c37b0

View File

@@ -3,7 +3,7 @@ import type { StorybookConfig } from '@storybook/angular';
const config: StorybookConfig = { const config: StorybookConfig = {
"stories": [ "stories": [
"../src/**/*.mdx", "../src/**/*.mdx",
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)" "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)",
], ],
"addons": [ "addons": [
"@storybook/addon-essentials", "@storybook/addon-essentials",
@@ -12,7 +12,8 @@ const config: StorybookConfig = {
], ],
"framework": { "framework": {
"name": "@storybook/angular", "name": "@storybook/angular",
"options": {} "options": {},
} },
"staticDirs": [{from:"../assets", to:"/assets"}],
}; };
export default config; export default config;