A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://sass-lang.com/documentation/js-api/interfaces/CanonicalizeContext below:

Website Navigation


Sass: CanonicalizeContext | JS API

Contextual information passed to canonicalize and findFileUrl. Not all importers will need this information to resolve loads, but some may find it useful.

Hierarchy Index Properties containingUrl containingUrl: null | URL

The canonical URL of the file that contains the load, if that information is available.

For an Importer, this is only passed when the url parameter is a relative URL or when its URL scheme is included in nonCanonicalScheme. This ensures that canonical URLs are always resolved the same way regardless of context.

For a FileImporter, this is always available as long as Sass knows the canonical URL of the containing file.

fromImport

fromImport: boolean

Whether this is being invoked because of a Sass @import rule, as opposed to a @use or @forward rule.

This should only be used for determining whether or not to load import-only files.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4