From 1cb49d910073adad19f2fc5a1f8c059e249a0d60 Mon Sep 17 00:00:00 2001 From: Dan Klammer Date: Tue, 20 Feb 2024 14:12:17 -0500 Subject: [PATCH] Use type="text/tailwindcss" to add custom CSS that supports all of Tailwind's CSS features. --- src/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.js b/src/parser.js index 6dfe7d8..43c75d5 100644 --- a/src/parser.js +++ b/src/parser.js @@ -322,7 +322,7 @@ module.exports = { let cssContent = fs.readFileSync(currentDirectory + '/assets/css/main.css', 'utf8'); // We also want to replace the tailwindcss @tailwind commands: cssContent = cssContent.replace('@tailwind base;', '').replace('@tailwind components;', '').replace('@tailwind utilities;', ''); - tailwindReplacement += ``; + tailwindReplacement += ``; } content = content.replace('{tailwindcss}', tailwindReplacement);