NPM Build Utilities @ 0.3.0-alpha.18
    Preparing search index...

    Class SassLoggerInternal

    Handles logging for sass compilations.

    0.3.0-alpha.12

    Implements

    Index

    Constructors

    Properties

    _sassLoggerWarningDuringPackaging: boolean = false
    args: Classify<Sass>
    console: Stage_Console
    deprecationWarnings: Map<keyof Deprecations, Set<DeprecationWarning>> = ...
    level: number
    params: Params
    sassErrorStackFilter: (stack: string, opts: Sass) => string[]

    Type Declaration

      • (stack: string, opts: Sass): string[]
      • Filters the paths in stack traces from the sass compiler API.

        Parameters

        • stack: string
        • opts: Sass

        Returns string[]

        0.3.0-alpha.3

    Accessors

    Methods

    • Internal

      Outputs a debug message received from Sass.

      Parameters

      • message: string
      • options: { span: SourceSpan }

      Returns void

      0.3.0-alpha.12 — Moved to own class.

    • Internal

      Outputs a warning (or deprecation) message received from Sass.

      Parameters

      • message: string
      • options: LoggerWarnOptions

      Returns void

      0.3.0-alpha.12 — Moved to own class.

    • Internal

      Parameters

      • options: LoggerWarnOptions | { span: SourceSpan }

      Returns { end: string | undefined; start: string | undefined } | null