Skip to content

Commit 05a1852

Browse files
justin808claude
andcommitted
Add @babel/runtime and mini-css-extract-plugin back to ignoreDependencies
These dependencies are used by webpack but not detected by knip's analysis. Adding them to ignoreDependencies prevents the "Unused dependencies" error. (This will generate configuration hints, but hints don't fail CI.) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 60e75c1 commit 05a1852

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

knip.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ const config: KnipConfig = {
176176
'@rescript/react',
177177
// The Babel plugin fails to detect it
178178
'babel-plugin-transform-react-remove-prop-types',
179+
// Required by @babel/plugin-transform-runtime for polyfills (used by webpack)
180+
'@babel/runtime',
181+
// Used in webpack server config for CSS extraction
182+
'mini-css-extract-plugin',
179183
// This one is weird. It's long-deprecated and shouldn't be necessary.
180184
// Probably need to update the Webpack config.
181185
'node-libs-browser',

0 commit comments

Comments
 (0)