new ProfilingPlugin(options?): ProfilingPluginAttributes
options:
<ProfilingPluginOptions>Returns:
<ProfilingPlugin>Creates an instance of ProfilingPlugin.
Attributes
options:
<ProfilingPluginOptions>Profiler:
{typeof Profiler}
apply(compiler): voidAttributes
compiler:
<Compiler>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
.