#Where to add Storybook's custom builder in angular.json?

3 messages · Page 1 of 1 (latest)

scarlet trellis
#

As per storybook documentation we need to add Storybook's custom builder in angular.json. But I am not sure where to add it in angular.json. It will be helpful to understand if complete sample angular.json with storybook builder will be provided.

Please let me know where to add below block in angular.json.

{
"storybook": {
"builder": "@echo salmonorybook/angular:start-storybook",
"options": {
"browserTarget": "angular-cli:build",
"port": 6006
}
},
"build-storybook": {
"builder": "@echo salmonorybook/angular:build-storybook",
"options": {
"browserTarget": "angular-cli:build"
}
}
}

#

Where to add Storybook's custom builder in angular.json?

wind aspen