From 744f09d5d1e90370f8bdcb7feea1040333317166 Mon Sep 17 00:00:00 2001 From: HOG Date: Thu, 19 Dec 2019 17:47:04 +0200 Subject: [PATCH] 195 - Edited storybook task. --- scripts/makefile/front.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/makefile/front.mk b/scripts/makefile/front.mk index 5ee38d429..87b661a07 100644 --- a/scripts/makefile/front.mk +++ b/scripts/makefile/front.mk @@ -35,6 +35,7 @@ front-build: $(call frontexec, node -v); \ $(call frontexec, yarn -v); \ $(call frontexec, yarn build --verbose); \ + $(call frontexec, yarn build-storybook -c .storybook -o dist/storybook --verbose) else \ echo "- Theme directory defined in .env file was not found. Skipping front-build."; \ fi @@ -54,4 +55,4 @@ storybook: @echo "Running storybook..." docker pull $(IMAGE_FRONT) $(call frontexec, yarn install --ignore-optional --check-files) - $(call frontexec, yarn build-storybook --verbose) + $(call frontexec, yarn storybook -p $(FRONT_PORT))