Update warning message

This commit is contained in:
Jordan Pittman
2023-03-24 10:44:18 -04:00
parent 70ddf281b0
commit f97ded08ac
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -306,8 +306,8 @@ export function normalizeConfig(config) {
if (plugin && config.plugins.includes(plugin)) {
log.warn('line-clamp-in-core', [
`The @tailwindcs/line-clamp plugin is now part of Tailwind CSS v3.3`,
`Remove it from your config to silence this warning`,
'As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.',
'Remove it from the `plugins` array in your configuration to eliminate this warning.',
])
config.plugins = config.plugins.filter((p) => p !== plugin)
+2 -2
View File
@@ -14,8 +14,8 @@ let localModules = {
'@tailwindcss/forms': require('@tailwindcss/forms'),
'@tailwindcss/line-clamp': () => {
log.warn('line-clamp-in-core', [
`The @tailwindcs/line-clamp plugin is now part of Tailwind CSS v3.3`,
`Remove it from your config to silence this warning`,
'As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.',
'Remove it from the `plugins` array in your configuration to eliminate this warning.',
])
},
'@tailwindcss/typography': require('@tailwindcss/typography'),