Skip to content

Commit

Permalink
Update build-storybook targets
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusKjeldgaard committed Jun 2, 2024
1 parent e2c5a96 commit c2606a0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
18 changes: 18 additions & 0 deletions libs/designsystem/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,27 @@
"configDir": "libs/designsystem/.storybook",
"browserTarget": "designsystem:build",
"outputDir": "dist/storybook/designsystem",
"enableProdMode": false,
"styles": [
"libs/core/src/scss/_global-styles.scss",
"libs/designsystem/.storybook/styles.css"
],
"assets": [
{
"glob": "**/*",
"input": "src/assets",
"output": "assets"
},
{
"glob": "**/*.svg",
"input": "libs/designsystem/icon/src/icons/svg",
"output": "./assets/kirby/icons/svg"
},
{
"glob": "**/*.svg",
"input": "node_modules/ionicons/dist/ionicons/svg",
"output": "./svg"
}
]
}
}
Expand Down
20 changes: 19 additions & 1 deletion libs/extensions/angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,27 @@
"configDir": "libs/extensions/angular/.storybook",
"browserTarget": "extensions-angular:build",
"outputDir": "dist/storybook/extensions/angular",
"enableProdMode": false,
"styles": [
"libs/core/src/scss/_global-styles.scss",
"libs/designsystem/.storybook/styles.css"
"libs/extensions/angular/.storybook/styles.css"
],
"assets": [
{
"glob": "**/*",
"input": "src/assets",
"output": "assets"
},
{
"glob": "**/*.svg",
"input": "libs/designsystem/icon/src/icons/svg",
"output": "./assets/kirby/icons/svg"
},
{
"glob": "**/*.svg",
"input": "node_modules/ionicons/dist/ionicons/svg",
"output": "./svg"
}
]
}
}
Expand Down

0 comments on commit c2606a0

Please sign in to comment.