new ProfilingPlugin(options?): ProfilingPluginAttributes
options:
<ProfilingPluginOptions>options object
Returns:
<ProfilingPlugin>Creates an instance of ProfilingPlugin.
Attributes
options:
<ProfilingPluginOptions>Profiler:
{typeof Profiler}
apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.
Attributes
outputPath:
<string>Path to the output file e.g.
path.resolve(__dirname, 'profiling/events.json')
. Defaults to
events.json
.