MCPcopy Create free account
hub / github.com/TanStack/devtools / defineDevtoolsConfig

Function defineDevtoolsConfig

packages/devtools-vite/src/plugin.ts:108–109  ·  view source on GitHub ↗
(config: TanStackDevtoolsViteConfig)

Source from the content-addressed store, hash-verified

106 enforce: 'pre',
107 name: '@tanstack/devtools:custom-server',
108 apply(config) {
109 // Custom server is only needed in development for piping events to the client
110 return config.mode === 'development'
111 },
112 async configureServer(server) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected