buildSettings() — astro Function Reference
Architecture documentation for the buildSettings() function in common.test.js from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 6577e346_2920_8e57_fde1_806b4d9897b1["buildSettings()"] 96109cef_dd39_88bd_043e_a6431cf6131c["common.test.js"] 6577e346_2920_8e57_fde1_806b4d9897b1 -->|defined in| 96109cef_dd39_88bd_043e_a6431cf6131c style 6577e346_2920_8e57_fde1_806b4d9897b1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/units/csp/common.test.js lines 13–24
function buildSettings({ csp, injected }) {
/** @type {any} */
const settings = {
config: {
security: { csp },
},
injectedCsp: {
fontResources: new Set(injected),
},
};
return settings;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does buildSettings() do?
buildSettings() is a function in the astro codebase, defined in packages/astro/test/units/csp/common.test.js.
Where is buildSettings() defined?
buildSettings() is defined in packages/astro/test/units/csp/common.test.js at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free