Skip to content

Conversation

@MrPancakes39
Copy link

@MrPancakes39 MrPancakes39 commented Dec 29, 2025

🎯 Changes

This PR fixes issue #271 for enhanced logs

  • I updated enhancedConsoleLog function to allow formatting with CSS Format Specifiers instead of ANSI escape codes
  • The enhancedConsoleLog takes in an optional 4th param to enable css formatting otherwise it'll fallback to current behavior (ANSI)
  • Added option for css formatting in TanStackDevtoolsViteConfig type with default value: false
  • Added a test for css formatting in enhance-logs.test.ts file

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.

@changeset-bot
Copy link

changeset-bot bot commented Dec 29, 2025

🦋 Changeset detected

Latest commit: bbcc482

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tanstack/devtools-vite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@MrPancakes39
Copy link
Author

Before After
image image

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.

1 participant