There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(component): storybook build config (#8247)
forehalo85b9f2107827
diff --git a/packages/frontend/component/.storybook/main.ts b/packages/frontend/component/.storybook/main.tsindex 738019c9c5..4ba1028d4d 100644--- a/packages/frontend/component/.storybook/main.ts+++ b/packages/frontend/component/.storybook/main.ts@@ -54,13 +54,18 @@ export default {],define: {'process.env.CAPTCHA_SITE_KEY': `"${process.env.CAPTCHA_SITE_KEY}"`,- runtimeConfig: getBuildConfig({- distribution: 'web',- mode: 'development',- channel: 'canary',- static: false,- coverage: false,- }),+ ...Object.entries(+ getBuildConfig({+ distribution: 'web',+ mode: 'development',+ channel: 'canary',+ static: false,+ coverage: false,+ })+ ).reduce((envs, [key, value]) => {+ envs[`BUILD_CONFIG.${key}`] = JSON.stringify(value);+ return envs;+ }, {}),},});},