Skip to content

Commit

Permalink
fix(storybook): Allow stylePreprocessorOptions for React storybooks (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
fantoine committed Apr 1, 2022
1 parent cb4126c commit 5ddd895
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/storybook/src/executors/utils.ts
Expand Up @@ -350,7 +350,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;
}
Expand Down

0 comments on commit 5ddd895

Please sign in to comment.