Fix apostrophe in error

This commit is contained in:
Jesse 2018-10-17 11:47:14 +02:00
parent 335c1b1f1d
commit 55f8207d21

View file

@ -92,7 +92,7 @@ export default function(config, generatedUtilities) {
),
() => {
// prettier-ignore
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.`)
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.`)
},
],
(classDecls, candidate) => (!_.isEmpty(classDecls) ? classDecls : candidate()),