chore: fix tailwindcss content pattern matching node_modules
Some checks failed
Chromatic / chromatic (push) Successful in 6m2s
CI / ci (push) Failing after 54s
CI / commitlint (push) Successful in 15s

Ref: https://x.com/adamwathan/status/1821286325259239554
This commit is contained in:
Théo LUDWIG 2024-08-09 23:04:38 +01:00
parent 94af8462d3
commit 0f8b6c6b29
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import sharedConfig from "@repo/config-tailwind"
/** @type {Pick<import('tailwindcss').Config, "presets" | "content">} */
const config = {
content: [".storybook/preview.tsx", "../../packages/**/*.tsx"],
content: [".storybook/preview.tsx", "../../packages/*/src/**/*.tsx"],
presets: [sharedConfig],
}

View File

@ -2,7 +2,7 @@ import sharedConfig from "@repo/config-tailwind"
/** @type {Pick<import('tailwindcss').Config, "presets" | "content">} */
const config = {
content: ["./**/*.tsx", "../../packages/**/*.tsx"],
content: ["./app/**/*.tsx", "../../packages/*/src/**/*.tsx"],
presets: [sharedConfig],
}