Skip to content

Commit

Permalink
changed the message
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Oct 8, 2024
1 parent 81a0939 commit b3afef9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/vite/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@ export const remixDevTools: (args?: RemixViteConfig) => Plugin[] = (args) => {
if (!args?.suppressDeprecationWarning && resolvedViteConfig.appType === "custom") {
// Log a warning message
console.log(
chalk.yellowBright.bold(
"⚠️ This package is deprecated and will be renamed to react-router-devtools when React Router v7 is released"
)
`\n\n⚠️ ${chalk.yellowBright("remix-development-tools")} are going to be deprecated and will be renamed to ${chalk.greenBright("react-router-devtools ")} when React Router v7 is released ⚠️`,
`\n⚠️ Set suppressDeprecationWarning to true in your ${chalk.greenBright("vite.config.ts")} file to silence this warning ⚠️`
)
}

Expand Down

0 comments on commit b3afef9

Please sign in to comment.