getSource() — vue Function Reference
Architecture documentation for the getSource() function in stylePreprocessors.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD fb2b417f_3c7a_76a9_1506_1f85bf187a87["getSource()"] b9e41bc3_7867_c0b1_b819_d02c210a9f46["scss()"] b9e41bc3_7867_c0b1_b819_d02c210a9f46 -->|calls| fb2b417f_3c7a_76a9_1506_1f85bf187a87 1c045d9f_44f0_6be4_a94f_feabf6167d79["less()"] 1c045d9f_44f0_6be4_a94f_feabf6167d79 -->|calls| fb2b417f_3c7a_76a9_1506_1f85bf187a87 5af21a52_5316_e857_22eb_dce69bb60268["isFunction()"] fb2b417f_3c7a_76a9_1506_1f85bf187a87 -->|calls| 5af21a52_5316_e857_22eb_dce69bb60268 style fb2b417f_3c7a_76a9_1506_1f85bf187a87 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/stylePreprocessors.ts lines 115–125
function getSource(
source: string,
filename: string,
additionalData?: string | ((source: string, filename: string) => string)
) {
if (!additionalData) return source
if (isFunction(additionalData)) {
return additionalData(source, filename)
}
return additionalData + source
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does getSource() do?
getSource() is a function in the vue codebase.
What does getSource() call?
getSource() calls 1 function(s): isFunction.
What calls getSource()?
getSource() is called by 2 function(s): less, scss.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free