Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

doc(storybook): add documentation webpack hack for storybook

Muhammad Rivki63fd07a17f23
diff --git a/supabase-ui/.storybook/main.js b/supabase-ui/.storybook/main.js
index ffe7d1cca6d..e0f3a472d7b 100644
--- a/supabase-ui/.storybook/main.js
+++ b/supabase-ui/.storybook/main.js
@@ -10,6 +10,9 @@ module.exports = {
"@storybook/addon-essentials"
],
webpackFinal: async config => {
+
+ // This is for fix webpack storybook get module @emotion/styled/base
+ // It's wrong module, the right module is @emotion/styled-base
config.resolve.alias = {
'@emotion/styled/base': '@emotion/styled-base'
}