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