extractSourcemap() — vite Function Reference
Architecture documentation for the extractSourcemap() function in test-utils.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD ace1d18a_84b5_c526_fc1a_6184acb17f85["extractSourcemap()"] c68b21f4_9cd3_3abe_8169_0de2c9650f53["test-utils.ts"] ace1d18a_84b5_c526_fc1a_6184acb17f85 -->|defined in| c68b21f4_9cd3_3abe_8169_0de2c9650f53 style ace1d18a_84b5_c526_fc1a_6184acb17f85 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
playground/test-utils.ts lines 353–356
export const extractSourcemap = (content: string): any => {
const lines = content.trim().split('\n')
return fromComment(lines[lines.length - 1]).toObject()
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does extractSourcemap() do?
extractSourcemap() is a function in the vite codebase, defined in playground/test-utils.ts.
Where is extractSourcemap() defined?
extractSourcemap() is defined in playground/test-utils.ts at line 353.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free