Skip to content

Commit 64ed82a

Browse files
author
Elliot
authored
adds new purgecss paths to the tailwind config file (#9)
1 parent 9b1e5c0 commit 64ed82a

File tree

1 file changed

+31
-13
lines changed

1 file changed

+31
-13
lines changed
Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
11
module.exports = {
2-
theme: {
3-
extend: {
4-
screens: {
5-
'xl': '1140px',
6-
}
7-
},
8-
container: {
9-
center: true,
10-
padding: '1rem',
11-
}
2+
purge: {
3+
// enabled: true,
4+
content: [
5+
"app/**/*.php",
6+
"resources/**/*.html",
7+
"resources/**/*.js",
8+
"resources/**/*.jsx",
9+
"resources/**/*.ts",
10+
"resources/**/*.tsx",
11+
"resources/**/*.php",
12+
"resources/**/*.vue",
13+
"resources/**/*.twig",
14+
],
15+
options: {
16+
// defaultExtractor: (content) => content.match(/[\w-/.:]+(?<!:)/g) || [],
17+
whitelistPatterns: [/-active$/, /-enter$/, /-leave-to$/, /show$/],
1218
},
13-
variants: {},
14-
plugins: [],
15-
}
19+
},
20+
theme: {
21+
extend: {
22+
screens: {
23+
xl: "1140px",
24+
},
25+
},
26+
container: {
27+
center: true,
28+
padding: "1rem",
29+
},
30+
},
31+
variants: {},
32+
plugins: [],
33+
};

0 commit comments

Comments
 (0)