Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Refactor
  • Loading branch information
thecrypticace committed Mar 28, 2021
commit 3b5352f17498967e18f46682f0056229ea0899fa
6 changes: 5 additions & 1 deletion src/lib/setupContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,11 @@ function buildPluginApi(tailwindConfig, context, { variantList, variantMap, offs
return '*'
}

return options.respectPrefix ? context.tailwindConfig.prefix + identifier : identifier
if (! options.respectPrefix) {
return identifier
}

return context.tailwindConfig.prefix + identifier
}

return {
Expand Down