Skip to content

Commit

Permalink
Version number corrected in substituteTailwindAtRules (#3237)
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion committed Jan 29, 2021
1 parent 43afae4 commit e6dde19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/substituteTailwindAtRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit e6dde19

Please sign in to comment.