Created
October 1, 2020 07:01
-
-
Save juliangroen/a504847795baee63ab6b01cd14733647 to your computer and use it in GitHub Desktop.
Tailwindcss config file for use with https://github.com/sarioglu/svelte-tailwindcss-template
This file contains 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
module.exports = { | |
purge: { | |
mode: 'all', | |
content: ['./**/**/*.html', './**/**/*.svelte'], | |
options: { | |
whitelistPatterns: [/svelte-/], | |
defaultExtractor: (content) => [...content.matchAll(/(?:class:)*([\w\d-/:%.]+)/gm)].map(([_match, group, ..._rest]) => group), | |
}, | |
}, | |
theme: { | |
extend: {}, | |
}, | |
variants: {}, | |
plugins: [], | |
future: { | |
purgeLayersByDefault: true, | |
removeDeprecatedGapUtilities: true, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment