chore: fix tailwindcss content pattern matching node_modules
Ref: https://x.com/adamwathan/status/1821286325259239554
This commit is contained in:
parent
94af8462d3
commit
0f8b6c6b29
@ -2,7 +2,7 @@ import sharedConfig from "@repo/config-tailwind"
|
|||||||
|
|
||||||
/** @type {Pick<import('tailwindcss').Config, "presets" | "content">} */
|
/** @type {Pick<import('tailwindcss').Config, "presets" | "content">} */
|
||||||
const config = {
|
const config = {
|
||||||
content: [".storybook/preview.tsx", "../../packages/**/*.tsx"],
|
content: [".storybook/preview.tsx", "../../packages/*/src/**/*.tsx"],
|
||||||
presets: [sharedConfig],
|
presets: [sharedConfig],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import sharedConfig from "@repo/config-tailwind"
|
|||||||
|
|
||||||
/** @type {Pick<import('tailwindcss').Config, "presets" | "content">} */
|
/** @type {Pick<import('tailwindcss').Config, "presets" | "content">} */
|
||||||
const config = {
|
const config = {
|
||||||
content: ["./**/*.tsx", "../../packages/**/*.tsx"],
|
content: ["./app/**/*.tsx", "../../packages/*/src/**/*.tsx"],
|
||||||
presets: [sharedConfig],
|
presets: [sharedConfig],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user