这是开发预览网站。请访问正式文档 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