mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-05 03:25:10 +08:00
fix: storybook build issue (#6554)
This commit is contained in:
@@ -41,7 +41,7 @@ export default {
|
||||
// disable for storybook build
|
||||
runtimeConfig.enableCloud = false;
|
||||
return mergeConfig<InlineConfig, InlineConfig>(config, {
|
||||
assetsInclude: ['**/*.md'],
|
||||
assetsInclude: ['**/*.md', '**/*.zip'],
|
||||
resolve: {
|
||||
alias: {
|
||||
// workaround for https://github.com/vitejs/vite/issues/9731
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ const rootDir = fileURLToPath(new URL('.', import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react(), vanillaExtractPlugin()],
|
||||
assetsInclude: ['**/*.md'],
|
||||
assetsInclude: ['**/*.md', '**/*.zip'],
|
||||
resolve: {
|
||||
alias: {
|
||||
// prevent tests using two different sources of yjs
|
||||
|
||||
Reference in New Issue
Block a user