Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: cache key on blocksuite local debug (#3610)

fourdim7826ecfa58a1
diff --git a/apps/core/.webpack/utils.ts b/apps/core/.webpack/utils.ts
index 9102190858..357602518e 100644
--- a/apps/core/.webpack/utils.ts
+++ b/apps/core/.webpack/utils.ts
@@ -7,6 +7,6 @@ export function computeCacheKey(buildFlags: BuildFlags) {
buildFlags.mode,
buildFlags.distribution,
buildFlags.channel,
- ...(process.env.LOCAL_BLOCK_SUITE ? [process.env.LOCAL_BLOCK_SUITE] : []),
+ ...(buildFlags.localBlockSuite ? [buildFlags.localBlockSuite] : []),
].join('-');
}