Skip to content

Commit

Permalink
fix: Allow stylePreprocessorOptions for React storybooks
Browse files Browse the repository at this point in the history
Allow to use styles & stylePreprocessorOptions storybook options with React framework
  • Loading branch information
fantoine committed Mar 23, 2022
1 parent 2f85238 commit 60453c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storybook/src/executors/utils.ts
Expand Up @@ -343,7 +343,7 @@ 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 60453c2

Please sign in to comment.