From 9ea66a1658d6acda97573ba2cff79c955ff09c0d Mon Sep 17 00:00:00 2001 From: Hongtao Lye Date: Wed, 23 Aug 2023 22:08:37 +0800 Subject: [PATCH] fix: debug local blocksuite (#3915) --- apps/core/.webpack/config.ts | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/apps/core/.webpack/config.ts b/apps/core/.webpack/config.ts index c486fa52b2..0f5caad90e 100644 --- a/apps/core/.webpack/config.ts +++ b/apps/core/.webpack/config.ts @@ -138,28 +138,38 @@ export const createConfiguration: ( '@blocksuite/block-std': resolve( blocksuiteBaseDir, 'packages', - 'block-std' + 'block-std', + 'src' ), '@blocksuite/blocks': resolve( blocksuiteBaseDir, 'packages', - 'blocks' + 'blocks', + 'src' ), '@blocksuite/editor': resolve( blocksuiteBaseDir, 'packages', - 'editor' + 'editor', + 'src' ), '@blocksuite/global': resolve( blocksuiteBaseDir, 'packages', - 'global' + 'global', + 'src' + ), + '@blocksuite/lit': resolve( + blocksuiteBaseDir, + 'packages', + 'lit', + 'src' ), - '@blocksuite/lit': resolve(blocksuiteBaseDir, 'packages', 'lit'), '@blocksuite/phasor': resolve( blocksuiteBaseDir, 'packages', - 'phasor' + 'phasor', + 'src' ), '@blocksuite/store/providers/broadcast-channel': resolve( blocksuiteBaseDir, @@ -170,12 +180,14 @@ export const createConfiguration: ( '@blocksuite/store': resolve( blocksuiteBaseDir, 'packages', - 'store' + 'store', + 'src' ), '@blocksuite/virgo': resolve( blocksuiteBaseDir, 'packages', - 'virgo' + 'virgo', + 'src' ), }, },