mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Update warning message
This commit is contained in:
parent
6138d69c1b
commit
6ed3ba365d
@ -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)
|
||||
|
||||
@ -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'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user