add the new icons folder to the storybook builder so we can serve up icons

This commit is contained in:
Jacob Overgaard
2024-04-16 13:24:49 +02:00
parent 19baa55ba3
commit d16396d229

View File

@@ -22,7 +22,14 @@ const config: StorybookConfig = {
name: '@storybook/web-components-vite',
options: {},
},
staticDirs: ['../public-assets', '../public'],
staticDirs: [
'../public-assets',
'../public',
{
from: '../src/packages/core/icon-registry/icons',
to: 'assets/icons',
},
],
typescript: {
check: true,
},