From 14fee9158d4cd6903de5e5b0de8bd50de3ba17bd Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Wed, 27 Apr 2022 13:33:38 -0500 Subject: [PATCH] Add astro to tailwind content --- tailwind.config.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 9ef8752..4807481 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,13 +2,22 @@ module.exports = { purge: { enabled: true,//process.env.NODE_ENV === 'production', content: [ + + // Nuxt + 'nuxt.config.js', 'components/**/*.vue', - 'layouts-eleventy/**/*.js', 'layouts/**/*.vue', 'pages/**/*.vue', - 'pages-eleventy/**/*.js', 'plugins/**/*.js', - 'nuxt.config.js' + + // Eleventy + 'layouts-eleventy/**/*.js', + 'pages-eleventy/**/*.js', + + // Astro + 'src/**/*.astro', + 'src/**/*.vue', + 'src/**/*.js', ] }, future: {