Skip to content

Commit

Permalink
fix(storybook): fix migration (#10573)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Jun 3, 2022
1 parent 1de896f commit 8b12832
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -11,6 +11,9 @@ export default async function setProjectBuildConfig(tree: Tree) {
let changesMade = false;
const projects = getProjects(tree);
[...projects.entries()].forEach(([projectName, projectConfiguration]) => {
if (!projectConfiguration.targets) {
return;
}
const { storybookBuildTarget, storybookTarget, buildTarget } =
findStorybookAndBuildTargets(projectConfiguration.targets);
if (
Expand Down

0 comments on commit 8b12832

Please sign in to comment.