For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/template-webpack-plugin.processtasmcssdiagnosticsoptions.md.
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.