Skip to content

Interface: WebpackOptions ​

Extends ​

Properties ​

cacheId? ​

optional cacheId?: string | null

A unique id which is used to store the result of the module lookup for faster searches in the future. Will be autogenerated if not specified.

Inherited from ​

Options.cacheId


declarationFilter? ​

optional declarationFilter?: ExportedOnlyFilter

A filter to run on the found module's declarations, with the query instead returning the first matching declaration

Inherited from ​

Options.declarationFilter


defaultExport? ​

optional defaultExport?: boolean

Whether the filter should match the default export but return all exports

Inherited from ​

Options.defaultExport


fatal? ​

optional fatal?: boolean

Whether to throw an error if the query fails

Inherited from ​

Options.fatal


first? ​

optional first?: boolean


firstId? ​

optional firstId?: PropertyKey

The id of the first module to search, with the search running normally afterwards if it does not match

Inherited from ​

Options.firstId


raw? ​

optional raw?: boolean

Whether to return a raw module (an object with declarations, exports, id, and loaded)

Inherited from ​

Options.raw


searchDefault? ​

optional searchDefault?: boolean

Whether the filter should be run on the default export of modules. Defaults to true.

Inherited from ​

Options.searchDefault


searchExports? ​

optional searchExports?: boolean

Whether the filter should be run on the exports of modules

Inherited from ​

Options.searchExports