From 393d25d9e665e941b1999bf2571064973c4d39e4 Mon Sep 17 00:00:00 2001 From: Tom Ballinger Date: Thu, 7 Nov 2024 13:48:19 -0800 Subject: [PATCH] Don't bundle .txt or .md convex/ entry points (#31420) This seems backward-compatible since the only thing you can do with the current .txt entry point is view is in the dashboard. GitOrigin-RevId: b16943823282fa293a615a21aca3becdeb9362e3 --- src/bundler/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bundler/index.ts b/src/bundler/index.ts index 78a92dc..bcd67f9 100644 --- a/src/bundler/index.ts +++ b/src/bundler/index.ts @@ -405,6 +405,10 @@ export async function entryPoints( logVerbose(ctx, chalk.yellow(`Skipping ${fpath} json file`)); } else if (base.endsWith(".jsonl")) { logVerbose(ctx, chalk.yellow(`Skipping ${fpath} jsonl file`)); + } else if (base.endsWith(".txt")) { + logVerbose(ctx, chalk.yellow(`Skipping ${fpath} txt file`)); + } else if (base.endsWith(".md")) { + logVerbose(ctx, chalk.yellow(`Skipping ${fpath} markdown file`)); } else { logVerbose(ctx, chalk.green(`Preparing ${fpath}`)); entryPoints.push(fpath);