For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/template-webpack-plugin.processtasmcssdiagnosticsoptions.md.
这是开发预览网站。请访问正式文档 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.