Skip to content

Commit

Permalink
Fix config to entry file patterns in tailwind plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Feb 23, 2024
1 parent a8d6852 commit 0b11c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/knip/src/plugins/tailwind/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const ENABLERS = ['tailwindcss'];

const isEnabled: IsPluginEnabledCallback = ({ dependencies }) => hasDependency(dependencies, ENABLERS);

const CONFIG_FILE_PATTERNS = ['tailwind.config.{js,cjs,mjs,ts}'];
const ENTRY_FILE_PATTERNS = ['tailwind.config.{js,cjs,mjs,ts}'];

export default {
NAME,
ENABLERS,
isEnabled,
CONFIG_FILE_PATTERNS,
ENTRY_FILE_PATTERNS,
};

0 comments on commit 0b11c77

Please sign in to comment.