fix tailwind for stateful components imported from utils (#2328)

This commit is contained in:
Thomas Brandého 2023-12-21 19:43:11 +01:00 committed by GitHub
parent 527fa4bc3f
commit f75d5f2808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,6 @@ class Tailwind(SimpleNamespace):
# The Tailwind config.
CONFIG = os.path.join(Dirs.WEB, "tailwind.config.js")
# Default Tailwind content paths
CONTENT = ["./pages/**/*.{js,ts,jsx,tsx}"]
CONTENT = ["./pages/**/*.{js,ts,jsx,tsx}", "./utils/**/*.{js,ts,jsx,tsx}"]
# Relative tailwind style path to root stylesheet in STYLES_DIR.
ROOT_STYLE_PATH = "./tailwind.css"