Created
January 25, 2020 18:30
-
-
Save taylorbryant/0acc05c6ea886fac5b728e5286661077 to your computer and use it in GitHub Desktop.
PurgeCSS V2 Tailwind Extractor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const purgeFromTailwind = content => content.match(/[\w-/:]+(?<!:)/g) || []; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment