mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(infra): workaround for self-referencing in storybook (#5406)
This commit is contained in:
@@ -49,6 +49,11 @@ export default {
|
||||
'@toeverything/infra': fileURLToPath(
|
||||
new URL('../../../packages/common/infra/src', import.meta.url)
|
||||
),
|
||||
// workaround for https://github.com/vitejs/vite/issues/9731
|
||||
// it seems vite does not resolve self reference correctly?
|
||||
'@affine/core': fileURLToPath(
|
||||
new URL('../../../packages/frontend/core/src', import.meta.url)
|
||||
),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user