Skip to content

Commit

Permalink
fix: storybook prettier error
Browse files Browse the repository at this point in the history
  • Loading branch information
TomatoVan committed Apr 3, 2024
1 parent 3d86890 commit eb198bc
Show file tree
Hide file tree
Showing 2 changed files with 891 additions and 824 deletions.
2 changes: 1 addition & 1 deletion config/storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export default {
'@': paths.src,
};

// @ts-ignore
config!.module!.rules = config!.module!.rules!.map(
// @ts-ignore
(rule: RuleSetRule) => {
if (/svg/.test(rule.test as string)) {
return { ...rule, exclude: /\.svg$/i };
Expand Down
Loading

0 comments on commit eb198bc

Please sign in to comment.