-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds new purgecss paths to the tailwind config file (#9)
- Loading branch information
Elliot
authored
May 28, 2020
1 parent
9b1e5c0
commit 64ed82a
Showing
1 changed file
with
31 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,33 @@ | ||
module.exports = { | ||
theme: { | ||
extend: { | ||
screens: { | ||
'xl': '1140px', | ||
} | ||
}, | ||
container: { | ||
center: true, | ||
padding: '1rem', | ||
} | ||
purge: { | ||
// enabled: true, | ||
content: [ | ||
"app/**/*.php", | ||
"resources/**/*.html", | ||
"resources/**/*.js", | ||
"resources/**/*.jsx", | ||
"resources/**/*.ts", | ||
"resources/**/*.tsx", | ||
"resources/**/*.php", | ||
"resources/**/*.vue", | ||
"resources/**/*.twig", | ||
], | ||
options: { | ||
// defaultExtractor: (content) => content.match(/[\w-/.:]+(?<!:)/g) || [], | ||
whitelistPatterns: [/-active$/, /-enter$/, /-leave-to$/, /show$/], | ||
}, | ||
variants: {}, | ||
plugins: [], | ||
} | ||
}, | ||
theme: { | ||
extend: { | ||
screens: { | ||
xl: "1140px", | ||
}, | ||
}, | ||
container: { | ||
center: true, | ||
padding: "1rem", | ||
}, | ||
}, | ||
variants: {}, | ||
plugins: [], | ||
}; |