1 | /**
|
2 | * This file was automatically generated.
|
3 | * DO NOT MODIFY BY HAND.
|
4 | * Run `yarn special-lint-fix` to update
|
5 | */
|
6 |
|
7 | export type DllReferencePluginOptions =
|
8 | | {
|
9 | /**
|
10 | * (absolute path) context of requests in the manifest (or content property)
|
11 | */
|
12 | context?: string;
|
13 | /**
|
14 | * Extensions used to resolve modules in the dll bundle (only used when using 'scope')
|
15 | */
|
16 | extensions?: string[];
|
17 | /**
|
18 | * An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation
|
19 | */
|
20 | manifest: DllReferencePluginOptionsManifest | string;
|
21 | /**
|
22 | * The name where the dll is exposed (external name, defaults to manifest.name)
|
23 | */
|
24 | name?: string;
|
25 | /**
|
26 | * Prefix which is used for accessing the content of the dll
|
27 | */
|
28 | scope?: string;
|
29 | /**
|
30 | * How the dll is exposed (libraryTarget, defaults to manifest.type)
|
31 | */
|
32 | sourceType?: DllReferencePluginOptionsSourceType;
|
33 | /**
|
34 | * The way how the export of the dll bundle is used
|
35 | */
|
36 | type?: "require" | "object";
|
37 | }
|
38 | | {
|
39 | /**
|
40 | * The mappings from request to module info
|
41 | */
|
42 | content: DllReferencePluginOptionsContent;
|
43 | /**
|
44 | * (absolute path) context of requests in the manifest (or content property)
|
45 | */
|
46 | context?: string;
|
47 | /**
|
48 | * Extensions used to resolve modules in the dll bundle (only used when using 'scope')
|
49 | */
|
50 | extensions?: string[];
|
51 | /**
|
52 | * The name where the dll is exposed (external name)
|
53 | */
|
54 | name: string;
|
55 | /**
|
56 | * Prefix which is used for accessing the content of the dll
|
57 | */
|
58 | scope?: string;
|
59 | /**
|
60 | * How the dll is exposed (libraryTarget)
|
61 | */
|
62 | sourceType?: DllReferencePluginOptionsSourceType;
|
63 | /**
|
64 | * The way how the export of the dll bundle is used
|
65 | */
|
66 | type?: "require" | "object";
|
67 | };
|
68 | /**
|
69 | * The type how the dll is exposed (external type)
|
70 | */
|
71 | export type DllReferencePluginOptionsSourceType =
|
72 | | "var"
|
73 | | "assign"
|
74 | | "this"
|
75 | | "window"
|
76 | | "global"
|
77 | | "commonjs"
|
78 | | "commonjs2"
|
79 | | "commonjs-module"
|
80 | | "amd"
|
81 | | "amd-require"
|
82 | | "umd"
|
83 | | "umd2"
|
84 | | "jsonp";
|
85 |
|
86 | /**
|
87 | * An object containing content, name and type
|
88 | */
|
89 | export interface DllReferencePluginOptionsManifest {
|
90 | /**
|
91 | * The mappings from request to module info
|
92 | */
|
93 | content: DllReferencePluginOptionsContent;
|
94 | /**
|
95 | * The name where the dll is exposed (external name)
|
96 | */
|
97 | name?: string;
|
98 | /**
|
99 | * The type how the dll is exposed (external type)
|
100 | */
|
101 | type?: DllReferencePluginOptionsSourceType;
|
102 | }
|
103 | /**
|
104 | * The mappings from request to module info
|
105 | */
|
106 | export interface DllReferencePluginOptionsContent {
|
107 | /**
|
108 | * Module info
|
109 | */
|
110 | [k: string]: {
|
111 | /**
|
112 | * Meta information about the module
|
113 | */
|
114 | buildMeta?: {
|
115 | [k: string]: any;
|
116 | };
|
117 | /**
|
118 | * Information about the provided exports of the module
|
119 | */
|
120 | exports?: true | string[];
|
121 | /**
|
122 | * Module ID
|
123 | */
|
124 | id: number | string;
|
125 | };
|
126 | }
|