mirror of https://github.com/webpack/webpack.git
				
				
				
			fix: `ProfilingPlugin` schema
This commit is contained in:
		
							parent
							
								
									3a7bd7ffb4
								
							
						
					
					
						commit
						1952d5c882
					
				|  | @ -8,5 +8,5 @@ export interface WatchIgnorePluginOptions { | |||
| 	/** | ||||
| 	 * A list of RegExps or absolute paths to directories or files that should be ignored | ||||
| 	 */ | ||||
| 	paths?: [(string | RegExp), ...(string | RegExp)[]]; | ||||
| 	paths: [(string | RegExp), ...(string | RegExp)[]]; | ||||
| } | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ | |||
| 
 | ||||
| export interface ProfilingPluginOptions { | ||||
| 	/** | ||||
| 	 * Path to the output file e.g. `profiling/events.json`. Defaults to `events.json`. | ||||
| 	 * Path to the output file e.g. `path.resolve(__dirname, 'profiling/events.json')`. Defaults to `events.json`. | ||||
| 	 */ | ||||
| 	outputPath?: string; | ||||
| } | ||||
|  |  | |||
|  | @ -20,5 +20,6 @@ | |||
|       }, | ||||
|       "minItems": 1 | ||||
|     } | ||||
|   } | ||||
|   }, | ||||
|   "required": ["paths"] | ||||
| } | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ | |||
|   "additionalProperties": false, | ||||
|   "properties": { | ||||
|     "outputPath": { | ||||
|       "description": "Path to the output file e.g. `profiling/events.json`. Defaults to `events.json`.", | ||||
|       "description": "Path to the output file e.g. `path.resolve(__dirname, 'profiling/events.json')`. Defaults to `events.json`.", | ||||
|       "type": "string", | ||||
|       "absolutePath": true | ||||
|     } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue