Skip to content

Commit

Permalink
fix: storybook build
Browse files Browse the repository at this point in the history
  • Loading branch information
abelflopes committed Feb 24, 2024
1 parent 9e1aad1 commit 8e5032d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docs/storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ const config: StorybookConfig = {

// Add same styling rules as used on package compilation
const cssRule = packagesConfig.module?.rules?.find(
(i) => !!i && i !== "..." && "test" in i && i.test?.toString() === "/\\.s[ac]ss$/i",
(i) => !!i && i !== "..." && "test" in i && i.test?.toString() === "/\\.s[ac]ss$/iu",
);

config.module?.rules?.push(cssRule);

// Reduce log noise
Expand Down

0 comments on commit 8e5032d

Please sign in to comment.