fix: resolve Tailwind CSS content pattern performance warning

- Remove redundant content patterns
- Add explicit node_modules exclusion
- Prevents accidental matching of node_modules files
This commit is contained in:
Peter Steinberger 2025-07-15 20:45:52 +02:00
parent 4cacb251b3
commit 6c4adfe10f

View file

@ -1,6 +1,10 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,js,ts,jsx,tsx}", "./src/**/*.ts", "./src/components/*.ts", "./src/*.ts", "./public/**/*.html"],
content: [
"./src/**/*.{html,js,ts,jsx,tsx}",
"./public/**/*.html",
"!./node_modules/**/*"
],
theme: {
extend: {
colors: {