From c101b573d6fd48b37bd1b438b8919aa04282db16 Mon Sep 17 00:00:00 2001 From: Bonajo Date: Wed, 2 Feb 2022 11:23:51 +0100 Subject: [PATCH] fix: tailwind was looking at wrong assets directory tailwind was looking at the assets directory of the website using this theme instead of the assets directory of the theme itself --- tailwind.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index 53d243d..02b582b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,7 +1,7 @@ const path = require('path'); module.exports = { - content: [path.resolve(__dirname, 'layouts/**/*.{html,js}'), "./public/**/*.html", "./assets/**/*.js"], + content: [path.resolve(__dirname, 'layouts/**/*.{html,js}'), "./public/**/*.html", path.resolve(__dirname, 'assets/**/*.{ts,js}')], safelist: [ 'code-copy' ],