From f88b6ed346e99da6f6bc07d08c92f1a92141efa4 Mon Sep 17 00:00:00 2001 From: Fabien Antoine Date: Wed, 23 Mar 2022 17:06:49 +0100 Subject: [PATCH] fix(storybook): Allow stylePreprocessorOptions for React storybooks --- packages/storybook/src/executors/utils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/storybook/src/executors/utils.ts b/packages/storybook/src/executors/utils.ts index baedebf526ab5..62b52bac41f33 100644 --- a/packages/storybook/src/executors/utils.ts +++ b/packages/storybook/src/executors/utils.ts @@ -343,7 +343,10 @@ export function normalizeAngularBuilderStylesOptions( | '@storybook/svelte' | '@storybook/react-native' ): StorybookBuilderOptions | StorybookExecutorOptions { - if (uiFramework !== '@storybook/angular') { + if ( + uiFramework !== '@storybook/angular' && + uiFramework !== '@storybook/react' + ) { if (builderOptions.styles) { delete builderOptions.styles; }