From ad85723e424f89c24512abac6c4c157347e03eb8 Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Fri, 6 Dec 2024 16:31:47 -0500 Subject: [PATCH] fix: tailwind styles on local preview --- packages/ui/local-preview-bundle/tailwind.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui/local-preview-bundle/tailwind.config.js b/packages/ui/local-preview-bundle/tailwind.config.js index 4756d5fa6b..7be499d762 100644 --- a/packages/ui/local-preview-bundle/tailwind.config.js +++ b/packages/ui/local-preview-bundle/tailwind.config.js @@ -10,6 +10,8 @@ module.exports = { "./src/app/**/*.{js,ts,jsx,tsx,mdx}", "../app/src/**/*.{ts,tsx}", "../tailwind.config.js", + path.join(path.dirname(require.resolve("@fern-ui/ui")), "**/*.{ts,tsx}"), path.join(path.dirname(require.resolve("@fern-ui/components")), "**/*.{ts,tsx}"), + path.join(path.dirname(require.resolve("@fern-ui/fern-docs-syntax-highlighter")), "**/*.{ts,tsx}"), ], };