Skip to content

Conversation

RaiderHCPlay
Copy link

Fixes #1463

This PR fixes broken formatting in llms-medium.txt file by updating the regex in llms.ts file to preserve newlines and tabs for indentation.

Before submitting the PR, please make sure you do the following

  • It's really useful if your PR references an issue where it is discussed ahead of time.
  • Prefix your PR title with feat:, fix:, chore:, or docs:.
  • This message body should clearly illustrate what problems it solves.

Copy link

vercel bot commented Sep 11, 2025

@RaiderHCPlay is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

@khromov
Copy link
Contributor

khromov commented Sep 12, 2025

I think the better solution is just to remove normalize_whitespace: true; here, and potentially completely remove the normalize_whitespace functionality. Originally it was created to save on tokens but it's only used in the medium preset.

@RaiderHCPlay
Copy link
Author

Since it was only used in the medium preset, I removed the entire normalize_whitespace funtionality.

Copy link
Contributor

@khromov khromov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
svelte-dev Ready Ready Preview Sep 12, 2025 9:59pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

llms-medium.txt has broken formatting - missing newlines
2 participants