Skip to content

Commit c80ac0e

Browse files
authoredDec 9, 2024··
Add new content configuration entry for Astro (#872)
1 parent cf10d03 commit c80ac0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/knip/src/plugins/astro/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const enablers = ['astro'];
1010

1111
const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
1212

13-
const entry = ['astro.config.{js,cjs,mjs,ts}', 'src/content/config.ts'];
13+
const entry = ['astro.config.{js,cjs,mjs,ts}', 'src/content/config.ts', 'src/content.config.ts'];
1414

1515
const production = [
1616
'src/pages/**/*.{astro,mdx,js,ts}',

0 commit comments

Comments
 (0)
Please sign in to comment.