Skip to content

Commit 0e57d2d

Browse files
committed
build: Expand Tailwind content search to include test-case-component
Added 'packages/test-case-component/src/components/' to the Tailwind CSS content array in cursorless-org-docs to ensure styles are generated for components in that directory.
1 parent 61f2c40 commit 0e57d2d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/cursorless-org-docs/tailwind.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import { fontFamily as _fontFamily } from "tailwindcss/defaultTheme";
22

33
/** @type {import('tailwindcss').Config} */
4-
export const content = ["./src/**/*.{js,ts,jsx,tsx}"];
4+
// packages/test-case-component/src/components/ add dir
5+
// just add this damn dir to the content array, this FILE is at packages/cursorless-org-docs/tailwind.config.js
6+
export const content = [
7+
"./src/**/*.{js,ts,jsx,tsx}",
8+
"../test-case-component/src/components/**/*.{js,ts,jsx,tsx}",
9+
];
10+
511
export const corePlugins = {
612
preflight: false,
713
};

0 commit comments

Comments
 (0)