We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764d4de commit cf40ac8Copy full SHA for cf40ac8
packages/devtools-vite/src/plugin.ts
@@ -253,7 +253,8 @@ export const devtools = (args?: TanStackDevtoolsViteConfig): Array<Plugin> => {
253
for (const entry of entries) {
254
const prefix = chalk.cyan('[Client]')
255
const logMethod =
256
- originalConsole[entry.level as ConsoleLevel]
+ originalConsole[entry.level as ConsoleLevel] ||
257
+ originalConsole.log
258
const cleanedArgs = stripEnhancedLogPrefix(
259
entry.args,
260
(loc) => chalk.gray(loc),
0 commit comments