Interface LegacyPluginThis

The value of this in the context of a LegacyImporter or LegacyFunction callback.

deprecated

This is only used by the legacy render and renderSync APIs. Use compile, compileString, compileAsync, and compileStringAsync instead.

Hierarchy

Index

Properties

Properties

options

options: { context: LegacyPluginThis; data?: string; file?: string; includePaths: string; indentType: 0 | 1; indentWidth: number; linefeed: "\r" | "\r\n" | "\n" | "\n\r"; precision: 10; result: { stats: { entry: string; start: number } }; style: 1 }

A partial representation of the options passed to render or renderSync.

Type declaration