This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/template-webpack-plugin > ProcessTasmCSSDiagnosticsOptions

ProcessTasmCSSDiagnosticsOptions interface

Options for processTasmCSSDiagnostics().

Signature:

export interface ProcessTasmCSSDiagnosticsOptions 

Properties

Property

Modifiers

Type

Description

context

string

The webpack compiler context used to resolve relative source paths.

cssDiagnostics

unknown

The raw css_diagnostics value returned by TASM.

cssSourceMaps

string[]

CSS source map contents from the CSS chunks for the current template.

emittedWarnings?

Set<string> | undefined

(Optional) A mutable set used to skip diagnostics that were already emitted.

fileExists?

((path: string) => boolean) | undefined

(Optional) A file existence check used before attaching a mapped source location.