mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 23:07:02 +08:00
fix(infra): workaround for self-referencing in storybook (#5406)
This commit is contained in:
@@ -49,6 +49,11 @@ export default {
|
|||||||
'@toeverything/infra': fileURLToPath(
|
'@toeverything/infra': fileURLToPath(
|
||||||
new URL('../../../packages/common/infra/src', import.meta.url)
|
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: [
|
plugins: [
|
||||||
|
|||||||
Reference in New Issue
Block a user