Skip to content

Scheduling infrastructure for absolutely everyone.

perf: Ignore node_modules in Tailwind preset (#20058)

Keith Williams034dfc8e6b3c
diff --git a/packages/config/tailwind-preset.js b/packages/config/tailwind-preset.js
index 049a1932d1d..e91ae708bf5 100644
--- a/packages/config/tailwind-preset.js
+++ b/packages/config/tailwind-preset.js
@@ -10,10 +10,10 @@ module.exports = {
"./app/**/*.{js,ts,jsx,tsx}",
"./modules/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
- "../../packages/app-store/**/*{components,pages}/**/*.{js,ts,jsx,tsx}",
- "../../packages/features/**/*.{js,ts,jsx,tsx}",
- "../../packages/ui/**/*.{js,ts,jsx,tsx}",
- "../../packages/platform/atoms/**/*.{js,ts,jsx,tsx}",
+ "../../packages/app-store/!(node_modules)/**/*{components,pages}/**/*.{js,ts,jsx,tsx}",
+ "../../packages/features/!(node_modules)/**/*.{js,ts,jsx,tsx}",
+ "../../packages/ui/!(node_modules)/**/*.{js,ts,jsx,tsx}",
+ "../../packages/platform/atoms/!(node_modules)/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {