Skip to content

Commit 6ed3ba3

Browse files
committed
Update warning message
1 parent 6138d69 commit 6ed3ba3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/util/normalizeConfig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ export function normalizeConfig(config) {
306306

307307
if (plugin && config.plugins.includes(plugin)) {
308308
log.warn('line-clamp-in-core', [
309-
`The @tailwindcs/line-clamp plugin is now part of Tailwind CSS v3.3`,
310-
`Remove it from your config to silence this warning`,
309+
'As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.',
310+
'Remove it from the `plugins` array in your configuration to eliminate this warning.',
311311
])
312312

313313
config.plugins = config.plugins.filter((p) => p !== plugin)

standalone-cli/standalone.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ let localModules = {
1414
'@tailwindcss/forms': require('@tailwindcss/forms'),
1515
'@tailwindcss/line-clamp': () => {
1616
log.warn('line-clamp-in-core', [
17-
`The @tailwindcs/line-clamp plugin is now part of Tailwind CSS v3.3`,
18-
`Remove it from your config to silence this warning`,
17+
'As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.',
18+
'Remove it from the `plugins` array in your configuration to eliminate this warning.',
1919
])
2020
},
2121
'@tailwindcss/typography': require('@tailwindcss/typography'),

0 commit comments

Comments
 (0)