MCPcopy Create free account
hub / github.com/angular/components / renderSassFile

Function renderSassFile

scripts/create-legacy-tests-bundle.mjs:161–166  ·  view source on GitHub ↗

Helper function to render a Sass file.

(inputFile)

Source from the content-addressed store, hash-verified

159
160/** Helper function to render a Sass file. */
161function renderSassFile(inputFile) {
162 return sass.compile(inputFile, {
163 loadPaths: [nodeModulesDir, projectDir],
164 importers: [localPackageSassImporter],
165 });
166}
167
168/** Plugin that links node modules using the Angular compiler CLI. */
169function createLinkerEsbuildPlugin() {

Callers 1

compileSassFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected