Skip to content

Devtools panel showing on prod with Start RC Netlify #195

@dotnize

Description

@dotnize

TanStack Devtools version

react-devtools 0.7.1, devtools-vite 0.3.3

Framework/Library version

React 19, Start 132.32, @netlify/vite-plugin-tanstack-start 1.0.2

Describe the bug and the steps to reproduce it

Discussed on Discord: https://discord.com/channels/719702312431386674/1423273772009656383

Devtools are showing up on production in Start RC on the Netlify. Not sure if this is Netlify-specific, as far as I remember I wasn't getting this on the Nitro plugin.

Works fine when building locally, we see devtools being removed in build logs:

Image

But on Netlify build logs, nothing about devtools being removed:

Image

Build logs here: https://app.netlify.com/projects/tss-devtools-issue/deploys/68df68ba7ae5ecb5f1997eda

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://tss-devtools-issue.netlify.app/
https://github.com/dotnize/tss-devtools-netlify (based on start-basic-react-query)

Screenshots or Videos (Optional)

@tanstack/devtools shows up, but the actual devtools (Router/Query) themselves are empty:
Image

Do you intend to try to help solve this bug with your own PR?

No, because I do not have time to dig into it

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions