On this page

new LoaderOptionsPlugin(options?): LoaderOptionsPlugin
Attributes

Creates an instance of LoaderOptionsPlugin.

Attributes
apply(compiler): void
Attributes
compiler:Compiler
the compiler instance
Returns:void

Applies the plugin by registering its hooks on the compiler.

  • [index: {string}] any
Attributes
debug:boolean
Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.
minimize:boolean
Where loaders can be switched to minimize mode.
options:{ context?: string; [index: string]: any }
A configuration object that can be used to configure older loaders.