refactor: use storybook v7 (#951)

This commit is contained in:
Himself65
2023-02-13 21:18:43 -06:00
committed by GitHub
parent 2fdbb1909d
commit a47b612a2c
16 changed files with 1895 additions and 5565 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ const nextConfig = {
COMMIT_HASH: getCommitHash(),
EDITOR_VERSION,
},
transpilePackages: ['@affine/component'],
transpilePackages: ['@affine/component', '@affine/i18n'],
webpack: config => {
config.experiments = { ...config.experiments, topLevelAwait: true };
config.resolve.alias['yjs'] = require.resolve('yjs');