diff --git a/knip.js b/knip.js index e43539d78f..80ae300e7a 100644 --- a/knip.js +++ b/knip.js @@ -74,7 +74,7 @@ const config = { ], ignoreFiles: [ 'ts/components/Profiler.dom.tsx', - ...(PROD_ONLY ? ['ts/axo/*.dom.tsx'] : []), + ...(PROD_ONLY ? ['ts/axo/**/*.dom.tsx'] : []), ], ignoreBinaries: PROD_ONLY ? ['electron'] : [], storybook: {