-
-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Please provide the environment you discovered this bug in.
In an Angular repository, and following your documentation, add configuration for:
- @analogjs/storybook-angular:start-storybook
- @analogjs/storybook-angular:build-storybook
Import some fonts in your project, as static assets with staticDirs.
Which area/package is the issue in?
storybook-angular
Description
When using @analogjs/storybook-angular:start-storybook
This staticDirs config is necessary:
staticDirs: [
{ from: '../fontface/fonts', to: 'fonts' },
],When using @analogjs/storybook-angular:build-storybook
This staticDirs config is necessary:
staticDirs: [
{ from: '../fontface/fonts', to: 'assets/fonts' }, // <-- we need to add "assets/" !!
],Please provide the exception or error you saw
We should be able to see the same config in both build target.
Other information
No response
I would be willing to submit a PR to fix this issue
- Yes
- No
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working