Browse Source

ref(js): Storybook webpackFinal config does not need to be async (#35297)

Evan Purkhiser 2 years ago
parent
commit
107b32a7d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs-ui/storybook/main.ts

+ 1 - 1
docs-ui/storybook/main.ts

@@ -34,7 +34,7 @@ const config: StorybookConfig = {
 
   // XXX(emotion11): Workaround because storybook still uses emotion 10
   // internally. See https://github.com/storybookjs/storybook/issues/13145
-  webpackFinal: async webpackConf => ({
+  webpackFinal: webpackConf => ({
     ...webpackConf,
     resolve: {
       ...webpackConf?.resolve,