这是开发预览网站。请访问正式文档 lynxjs.org

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

LynxDebugMetadataPlugin class

The LynxDebugMetadataPlugin is a webpack plugin that adds debug metadata to the output.

Signature:

export declare class LynxDebugMetadataPlugin 

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new instance of the LynxDebugMetadataPlugin class

Properties

Property

Modifiers

Type

Description

defaultOptions

static

Readonly<Omit<Required<LynxDebugMetadataPluginOptions>, 'LynxTemplatePlugin'>>

defaultOptions is the default options that the LynxDebugMetadataPlugin uses.

options?

protected

LynxDebugMetadataPluginOptions | undefined

(Optional)

Methods

Method

Modifiers

Description

apply(compiler)

The entry point of a webpack plugin.