[docs,#571][xs]: tweak tailwind purge to see if we can fix issue on vercel with tailwind (over) purging of styles - see #571.

This commit is contained in:
Rufus Pollock 2021-06-15 18:25:22 +02:00
parent 2c2304494a
commit 42638c95ad

View File

@ -1,7 +1,18 @@
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
mode: 'jit',
// purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
purge: [
"./pages/**/*.js",
"./pages/**/*.ts",
"./pages/**/*.jsx",
"./pages/**/*.tsx",
"./components/**/*.js",
"./components/**/*.ts",
"./components/**/*.jsx",
"./components/**/*.tsx"
],
darkMode: false, // or 'media' or 'class'
theme: {
container: {