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.md.
This is the dev preview website. Check out the document at lynxjs.org

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

template-webpack-plugin package

A webpack plugin that simplifies creation of template.js files to serve your bundles.

Classes

Class

Description

LynxEncodePlugin

LynxEncodePlugin

LynxTemplatePlugin

LynxTemplatePlugin

WebEncodePlugin

Functions

Function

Description

processTasmCSSDiagnostics({ cssDiagnostics, cssSourceMaps, context, emittedWarnings, fileExists, }, input)

Parses, source-map-resolves, and deduplicates TASM CSS diagnostics.

Interfaces

Interface

Description

EncodeOptions

The options for encoding a Lynx bundle.

LynxEncodePluginOptions

The options for LynxEncodePluginOptions

LynxTemplatePluginOptions

The options for LynxTemplatePlugin

ProcessTasmCSSDiagnosticsOptions

Options for processTasmCSSDiagnostics().

ResolvedTasmCSSDiagnostic

A TASM CSS diagnostic with a formatted message and optional source map location.

TasmCSSDiagnostic

A CSS diagnostic emitted by TASM during template encode.

TemplateHooks

To allow other plugins to alter the Template, this plugin executes tapable hooks.

Variables

Variable

Description

CSSPlugins