fix(storybook): Allow stylePreprocessorOptions for React storybooks (#9481)
This commit is contained in:
parent
cb4126c442
commit
5ddd895bee
@ -350,7 +350,10 @@ export function normalizeAngularBuilderStylesOptions(
|
|||||||
| '@storybook/svelte'
|
| '@storybook/svelte'
|
||||||
| '@storybook/react-native'
|
| '@storybook/react-native'
|
||||||
): StorybookBuilderOptions | StorybookExecutorOptions {
|
): StorybookBuilderOptions | StorybookExecutorOptions {
|
||||||
if (uiFramework !== '@storybook/angular') {
|
if (
|
||||||
|
uiFramework !== '@storybook/angular' &&
|
||||||
|
uiFramework !== '@storybook/react'
|
||||||
|
) {
|
||||||
if (builderOptions.styles) {
|
if (builderOptions.styles) {
|
||||||
delete builderOptions.styles;
|
delete builderOptions.styles;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user