perf: Improve Tailwind CSS build performance by targeting content paths
This commit is contained in:
1 parent
a5bb5b15da
commit
4cd2d25dca
1 file changed
+5
-1
+5
-1
@@ -1,6 +1,10 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
'./**/*.{html,md}',
|
'./pages/**/*.{html,md,liquid}',
|
||||||
|
'./_layouts/**/*.{html,liquid}',
|
||||||
|
'./_includes/**/*.{html,liquid}',
|
||||||
|
'./*.{html,md,liquid}', // For root files like index.html, etc.
|
||||||
|
'./_site/**/*.{html,md}',
|
||||||
'!./node_modules/**/*'
|
'!./node_modules/**/*'
|
||||||
],
|
],
|
||||||
future: {
|
future: {
|
||||||
|
|||||||
Reference in new issue
Block a user