mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Only warn about conservative purge mode once per process
This commit is contained in:
parent
f3660ceed3
commit
58781b517d
@ -64,10 +64,12 @@ export default function purgeUnusedUtilities(config, configChanged) {
|
||||
}
|
||||
|
||||
if (mode === 'conservative') {
|
||||
log.warn([
|
||||
'The `conservative` purge mode will be removed in Tailwind 2.0.',
|
||||
'Please switch to the new `layers` mode instead.',
|
||||
])
|
||||
if (configChanged) {
|
||||
log.warn([
|
||||
'The `conservative` purge mode will be removed in Tailwind 2.0.',
|
||||
'Please switch to the new `layers` mode instead.',
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
const layers =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user