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

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

EncodeOptions interface

The options for encoding a Lynx bundle.

Signature:

export interface EncodeOptions 

Properties

Property

Modifiers

Type

Description

compilerOptions

Record<string, string | boolean>

customSections

Record<string, { type?: 'lazy'; encoding?: 'JsBytecode' | 'CSS'; content: string | Record<string, unknown> | undefined; }>

elementTemplate?

Record<string, unknown>

(Optional) Element template data used by encoders that support element template output.

lepusCode

{ root: string | undefined; lepusChunk: Record<string, string>; filename: string | undefined; } | undefined

manifest?

Record<string, string | undefined> | undefined

(Optional)