perf: fix paths in tailwind preset + ignore node modules in Platform tailwind config (#20067)
* fix paths in packages/config/tailwind preset * ignore node_modules in platform tailwind preset --------- Co-authored-by: Keith Williams <keithwillcode@gmail.com>
This commit is contained in:
co-authored by
Keith Williams
parent
50a76e6b27
commit
dc666fc770
@@ -6,10 +6,10 @@ const colors = require("tailwindcss/colors");
|
||||
const subtleColor = "#E5E7EB";
|
||||
module.exports = {
|
||||
content: [
|
||||
"./pages/**/*.{js,ts,jsx,tsx}",
|
||||
"./app/**/*.{js,ts,jsx,tsx}",
|
||||
"./modules/**/*.{js,ts,jsx,tsx}",
|
||||
"./components/**/*.{js,ts,jsx,tsx}",
|
||||
"../../apps/web/pages/**/*.{js,ts,jsx,tsx}",
|
||||
"../../apps/web/app/**/*.{js,ts,jsx,tsx}",
|
||||
"../../apps/web/modules/**/*.{js,ts,jsx,tsx}",
|
||||
"../../apps/web/components/**/*.{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}",
|
||||
|
||||
@@ -4,7 +4,7 @@ module.exports = {
|
||||
...base,
|
||||
content: [
|
||||
...base.content,
|
||||
"../../../packages/ui/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"../../../packages/ui/!(node_modules)/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"../../../node_modules/@tremor/**/*.{js,ts,jsx,tsx}",
|
||||
"./**/*.tsx",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user