knip.jsonc 739 B

12345678910111213141516
  1. {
  2. "$schema": "https://unpkg.com/knip@6/schema.json",
  3. // The browser loads the service worker by URL (public/sw-register.js, which
  4. // index.html includes), so no import leads to it.
  5. "entry": ["public/sw.js"],
  6. "ignore": [
  7. // Tools run by hand (node scripts/...), not part of the app.
  8. "scripts/**",
  9. // Types the sibling vendor .js; TypeScript reads it for that import.
  10. "src/lib/vendor/toolpathRenderer.d.ts"
  11. ],
  12. // Keeps browserslist's baseline data current; nothing imports it.
  13. "ignoreDependencies": ["baseline-browser-mapping"],
  14. // Unused exports and types are left out: most are only used in their own file.
  15. "include": ["files", "dependencies", "devDependencies", "unlisted", "unresolved", "binaries"]
  16. }