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

LongYinan2bfc7e33f1d2
diff --git a/tools/cli/src/run.ts b/tools/cli/src/run.ts
index a2df3802fb..731502ed3c 100644
--- a/tools/cli/src/run.ts
+++ b/tools/cli/src/run.ts
@@ -164,8 +164,6 @@ export class RunCommand extends PackageCommand {
// very simple test for auto ts/mjs scripts
const isLoaderRequired =
- !ignoreLoaderScripts.some(ignore => new RegExp(ignore).test(bin)) ||
-const isLoaderRequired =
!ignoreLoaderScripts.some(ignore => new RegExp(ignore).test(bin)) &&
!process.env.NODE_OPTIONS?.includes('@oxc-node/core/register');