Version number corrected in substituteTailwindAtRules (#3237)

This commit is contained in:
Martin Stühmer 2021-01-29 20:40:25 +01:00 • committed by GitHub
parent 43afae42d1
commit e6dde197c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ export default function (
css.walkAtRules('tailwind', (atRule) => {
if (atRule.params === 'preflight') {
// prettier-ignore
throw atRule.error("`@tailwind preflight` is not a valid at-rule in Tailwind v1.0, use `@tailwind base` instead.", { word: 'preflight' })
throw atRule.error("`@tailwind preflight` is not a valid at-rule in Tailwind v2.0, use `@tailwind base` instead.", { word: 'preflight' })
}
if (atRule.params === 'base') {