new ProfilingPlugin(options?): ProfilingPlugin
Attributes
options:
ProfilingPluginOptionsoptions object
Returns:
ProfilingPluginCreates an instance of ProfilingPlugin.
Attributes
options:
ProfilingPluginOptionsProfiler:
typeof Profilerapply(compiler): void
Attributes
Applies the plugin by registering its hooks on the compiler.
Attributes
outputPath:
stringPath to the output file e.g.
path.resolve(__dirname, 'profiling/events.json')
. Defaults to
events.json
.