| 
									
										
										
										
											2020-05-12 21:58:14 +08:00
										 |  |  | /* | 
					
						
							| 
									
										
										
										
											2018-09-18 19:57:44 +08:00
										 |  |  |  * This file was automatically generated. | 
					
						
							|  |  |  |  * DO NOT MODIFY BY HAND. | 
					
						
							|  |  |  |  * Run `yarn special-lint-fix` to update | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | export type DllReferencePluginOptions = | 
					
						
							|  |  |  | 	| { | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * Context of requests in the manifest (or content property) as absolute path. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			context?: string; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * Extensions used to resolve modules in the dll bundle (only used when using 'scope'). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			extensions?: string[]; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							| 
									
										
										
										
											2020-03-26 16:48:21 +08:00
										 |  |  | 			manifest: string | DllReferencePluginOptionsManifest; | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * The name where the dll is exposed (external name, defaults to manifest.name). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			name?: string; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * Prefix which is used for accessing the content of the dll. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			scope?: string; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * How the dll is exposed (libraryTarget, defaults to manifest.type). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			sourceType?: DllReferencePluginOptionsSourceType; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * The way how the export of the dll bundle is used. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			type?: "require" | "object"; | 
					
						
							|  |  |  | 	  } | 
					
						
							|  |  |  | 	| { | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * The mappings from request to module info. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			content: DllReferencePluginOptionsContent; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * Context of requests in the manifest (or content property) as absolute path. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			context?: string; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * Extensions used to resolve modules in the dll bundle (only used when using 'scope'). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			extensions?: string[]; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * The name where the dll is exposed (external name). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			name: string; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * Prefix which is used for accessing the content of the dll. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			scope?: string; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * How the dll is exposed (libraryTarget). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			sourceType?: DllReferencePluginOptionsSourceType; | 
					
						
							|  |  |  | 			/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 			 * The way how the export of the dll bundle is used. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 			 */ | 
					
						
							|  |  |  | 			type?: "require" | "object"; | 
					
						
							|  |  |  | 	  }; | 
					
						
							|  |  |  | /** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  |  * The type how the dll is exposed (external type). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  |  */ | 
					
						
							|  |  |  | export type DllReferencePluginOptionsSourceType = | 
					
						
							|  |  |  | 	| "var" | 
					
						
							|  |  |  | 	| "assign" | 
					
						
							|  |  |  | 	| "this" | 
					
						
							|  |  |  | 	| "window" | 
					
						
							|  |  |  | 	| "global" | 
					
						
							|  |  |  | 	| "commonjs" | 
					
						
							|  |  |  | 	| "commonjs2" | 
					
						
							|  |  |  | 	| "commonjs-module" | 
					
						
							|  |  |  | 	| "amd" | 
					
						
							| 
									
										
										
										
											2018-09-27 01:41:22 +08:00
										 |  |  | 	| "amd-require" | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 	| "umd" | 
					
						
							|  |  |  | 	| "umd2" | 
					
						
							| 
									
										
										
										
											2020-04-12 05:39:42 +08:00
										 |  |  | 	| "jsonp" | 
					
						
							|  |  |  | 	| "system"; | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  |  * An object containing content, name and type. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  |  */ | 
					
						
							|  |  |  | export interface DllReferencePluginOptionsManifest { | 
					
						
							|  |  |  | 	/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 	 * The mappings from request to module info. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 	 */ | 
					
						
							|  |  |  | 	content: DllReferencePluginOptionsContent; | 
					
						
							|  |  |  | 	/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 	 * The name where the dll is exposed (external name). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 	 */ | 
					
						
							|  |  |  | 	name?: string; | 
					
						
							|  |  |  | 	/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 	 * The type how the dll is exposed (external type). | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 	 */ | 
					
						
							|  |  |  | 	type?: DllReferencePluginOptionsSourceType; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  |  * The mappings from request to module info. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  |  */ | 
					
						
							|  |  |  | export interface DllReferencePluginOptionsContent { | 
					
						
							|  |  |  | 	/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 	 * Module info. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 	 */ | 
					
						
							|  |  |  | 	[k: string]: { | 
					
						
							|  |  |  | 		/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 		 * Meta information about the module. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 		 */ | 
					
						
							|  |  |  | 		buildMeta?: { | 
					
						
							|  |  |  | 			[k: string]: any; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 		/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 		 * Information about the provided exports of the module. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 		 */ | 
					
						
							| 
									
										
										
										
											2020-03-26 16:48:21 +08:00
										 |  |  | 		exports?: string[] | true; | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 		/** | 
					
						
							| 
									
										
										
										
											2020-03-09 21:14:44 +08:00
										 |  |  | 		 * Module ID. | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 		 */ | 
					
						
							| 
									
										
										
										
											2020-03-26 23:43:00 +08:00
										 |  |  | 		id: number | string; | 
					
						
							| 
									
										
										
										
											2018-09-21 17:00:44 +08:00
										 |  |  | 	}; | 
					
						
							|  |  |  | } |