From 0d8a285692cea28ee7feb1bf56fb810503b50b04 Mon Sep 17 00:00:00 2001 From: Cristen Jones Date: Mon, 28 Oct 2024 12:18:44 -0400 Subject: [PATCH] try a transform? --- documentation/styles/tailwind.config.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/documentation/styles/tailwind.config.js b/documentation/styles/tailwind.config.js index 7756870..1748510 100644 --- a/documentation/styles/tailwind.config.js +++ b/documentation/styles/tailwind.config.js @@ -1,10 +1,14 @@ const plugin = require('tailwindcss/plugin') const tailwindConfig = require("../../dist/tailwind.config.cjs"); +const nunjucks = require("nunjucks"); module.exports = { - content: [ - "_includes/**/*.njk" - ], + content: { + files: "_includes/**/*.njk", + transform: (string) => { + nunjucks.renderString(string) + } + }, darkMode: 'media', variants: {}, theme: {