Skip to content

Commit

Permalink
Don't bundle .txt or .md convex/ entry points (#31420)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thomasballinger authored and Convex, Inc. committed Nov 7, 2024
1 parent 6c926df commit d5dd8a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions npm-packages/convex/src/bundler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d5dd8a8

Please sign in to comment.