Skip to content

Commit 7120a89

Browse files
authored
Merge pull request tailwindlabs#576 from motleydev/master
Fix apostrophe in error
2 parents 335c1b1 + 55f8207 commit 7120a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/substituteClassApplyAtRules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function(config, generatedUtilities) {
9292
),
9393
() => {
9494
// prettier-ignore
95-
throw onError(`\`@apply\` cannot be used with \`${classToApply}\` because \`${classToApply}\` either cannot be found, or it's actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that \`${classToApply}\` exists, make sure that any \`@import\` statements are being properly processed *before* Tailwind CSS sees your CSS, as \`@apply\` can only be used for classes in the same CSS tree.`)
95+
throw onError(`\`@apply\` cannot be used with \`${classToApply}\` because \`${classToApply}\` either cannot be found, or its actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that \`${classToApply}\` exists, make sure that any \`@import\` statements are being properly processed *before* Tailwind CSS sees your CSS, as \`@apply\` can only be used for classes in the same CSS tree.`)
9696
},
9797
],
9898
(classDecls, candidate) => (!_.isEmpty(classDecls) ? classDecls : candidate()),

0 commit comments

Comments
 (0)