new ProfilingPlugin(options?): ProfilingPluginAttributes
options:
ProfilingPluginOptionsoptions object
Returns:
ProfilingPluginCreates an instance of ProfilingPlugin.
Attributes
options:
ProfilingPluginOptionsProfiler:
typeof Profilerapply(compiler): voidAttributes
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
.