storybook/docs/_snippets/angular-builder-production.md
Kyle Gach 8dfc5cc4d2 Update badly-migrated snippet
- Migration script did not correctly handle snippets with paths that had different filenames
2024-08-06 14:42:26 -06:00

15 lines
481 B
Markdown

```shell renderer="angular" tabTitle="with-builder"
# Builds Storybook with Angular's custom builder
# See https://storybook.js.org/docs/get-started/frameworks/angular#how-do-i-migrate-to-an-angular-storybook-builder
# to learn how to create the custom builder
ng run my-project:build-storybook
```
```json renderer="angular" language="js" filename="package.json" tabTitle="script-for-builder"
{
"scripts": {
"build-storybook": "ng run my-project:build-storybook"
}
}
```