[{"data":1,"prerenderedAt":148},["ShallowReactive",2],{"navigation_docs":3,"diagnostic-content-DOC0011":44},[4,8,12,16,20,24,28,32,36,40],{"title":5,"path":6,"stem":7},"CLI","\u002Fcli","1.cli",{"title":9,"path":10,"stem":11},"Nuxt","\u002Fnuxt","2.nuxt",{"title":13,"path":14,"stem":15},"Vue","\u002Fvue","3.vue",{"title":17,"path":18,"stem":19},"Vite","\u002Fvite","4.vite",{"title":21,"path":22,"stem":23},"Nitro","\u002Fnitro","5.nitro",{"title":25,"path":26,"stem":27},"TypeScript","\u002Ftypescript","6.typescript",{"title":29,"path":30,"stem":31},"shadcn","\u002Fshadcn","7.shadcn",{"title":33,"path":34,"stem":35},"Package","\u002Fpackage","8.package",{"title":37,"path":38,"stem":39},"Extending Doctor","\u002Fextending","9.extending",{"title":41,"path":42,"stem":43},"Pinia","\u002Fpinia","9.pinia",{"id":45,"title":46,"body":47,"category":53,"code":138,"description":139,"docsUrl":54,"extension":140,"fix":76,"framework":141,"meta":142,"navigation":143,"pack":56,"path":144,"ruleId":57,"rulePath":54,"seo":145,"severity":58,"source":59,"sourceUrl":60,"stem":146,"why":69,"__hash__":147},"diagnostics\u002Fdiagnostics\u002FDOC0011.md","DOC0011: Review a file with many imports",{"type":48,"value":49,"toc":131},"minimark",[50,61,66,70,74,77,81,84,115,119,127],[51,52],"rule-metadata",{"category":53,"docsUrl":54,"fix":55,"pack":56,"ruleId":57,"rulePath":54,"severity":58,"source":59,"sourceUrl":60},"health","","no","vite-doctor\u002Fcore","workspace\u002Fhealth\u002Fhigh-fan-out","info","src\u002Fcore\u002Finternal\u002Fworkspace-graph.ts","https:\u002F\u002Fgithub.com\u002Fonmax\u002Fvite-doctor\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Finternal\u002Fworkspace-graph.ts",[62,63,65],"h2",{"id":64},"why-it-happens","Why it happens",[67,68,69],"p",{},"Doctor counts static import declarations in a file, including type imports. This is not a count of unique packages or runtime dependencies; repeated declarations from the same source count separately. A high count is a coupling heuristic, not a build-size or performance result.",[62,71,73],{"id":72},"fix","Fix",[67,75,76],{},"Review whether the file combines unrelated responsibilities. Consolidate repeated imports and move cohesive behavior into smaller modules where that clarifies ownership. Keep necessary imports when the file's role justifies them, and configure a scoped suppression if needed.",[62,78,80],{"id":79},"verify-the-fix","Verify the fix",[67,82,83],{},"Rerun the workspace analysis after editing:",[85,86,90],"pre",{"className":87,"code":88,"language":89,"meta":54,"style":54},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm vite-doctor . --analyses health\n","bash",[91,92,93],"code",{"__ignoreMap":54},[94,95,98,102,106,109,112],"span",{"class":96,"line":97},"line",1,[94,99,101],{"class":100},"sBMFI","pnpm",[94,103,105],{"class":104},"sfazB"," vite-doctor",[94,107,108],{"class":104}," .",[94,110,111],{"class":104}," --analyses",[94,113,114],{"class":104}," health\n",[62,116,118],{"id":117},"related-rule","Related rule",[120,121,122],"ul",{},[123,124,125],"li",{},[91,126,57],{},[128,129,130],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":54,"searchDepth":132,"depth":132,"links":133},2,[134,135,136,137],{"id":64,"depth":132,"text":65},{"id":72,"depth":132,"text":73},{"id":79,"depth":132,"text":80},{"id":117,"depth":132,"text":118},"DOC0011","A source file contains at least 20 static import declarations.","md",null,{},true,"\u002Fdiagnostics\u002Fdoc0011",{"title":46,"description":139},"diagnostics\u002FDOC0011","bvVKo-lUBwJXMYuLxOIYLrmp2_EWI3pZGVJ8QNy3zhM",1791309507958]