@teambit/webpack 1.0.257 → 1.0.259
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/artifacts/schema.json
CHANGED
@@ -14,954 +14,1089 @@
|
|
14
14
|
},
|
15
15
|
"exports": [
|
16
16
|
{
|
17
|
-
"__schema": "
|
17
|
+
"__schema": "ExportSchema",
|
18
18
|
"location": {
|
19
|
-
"filePath": "
|
20
|
-
"line":
|
21
|
-
"character":
|
19
|
+
"filePath": "index.ts",
|
20
|
+
"line": 2,
|
21
|
+
"character": 3
|
22
22
|
},
|
23
|
-
"signature": "class WebpackMain",
|
24
23
|
"name": "WebpackMain",
|
25
|
-
"
|
26
|
-
|
27
|
-
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
"
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
24
|
+
"exportNode": {
|
25
|
+
"__schema": "ClassSchema",
|
26
|
+
"location": {
|
27
|
+
"filePath": "webpack.main.runtime.ts",
|
28
|
+
"line": 61,
|
29
|
+
"character": 1
|
30
|
+
},
|
31
|
+
"signature": "class WebpackMain",
|
32
|
+
"name": "WebpackMain",
|
33
|
+
"members": [
|
34
|
+
{
|
35
|
+
"__schema": "ConstructorSchema",
|
36
|
+
"location": {
|
37
|
+
"filePath": "webpack.main.runtime.ts",
|
38
|
+
"line": 62,
|
39
|
+
"character": 3
|
40
|
+
},
|
41
|
+
"signature": "constructor WebpackMain(pubsub: PubsubMain, workspace: Workspace, bundler: BundlerMain, logger: Logger): WebpackMain",
|
42
|
+
"name": "constructor",
|
43
|
+
"params": [
|
44
|
+
{
|
45
|
+
"__schema": "ParameterSchema",
|
46
46
|
"location": {
|
47
47
|
"filePath": "webpack.main.runtime.ts",
|
48
48
|
"line": 66,
|
49
|
-
"character":
|
49
|
+
"character": 5
|
50
50
|
},
|
51
|
-
"name": "
|
52
|
-
"
|
53
|
-
"
|
54
|
-
"
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
"
|
51
|
+
"name": "pubsub",
|
52
|
+
"type": {
|
53
|
+
"__schema": "TypeRefSchema",
|
54
|
+
"location": {
|
55
|
+
"filePath": "webpack.main.runtime.ts",
|
56
|
+
"line": 66,
|
57
|
+
"character": 20
|
58
|
+
},
|
59
|
+
"name": "PubsubMain",
|
60
|
+
"componentId": {
|
61
|
+
"scope": "teambit.harmony",
|
62
|
+
"name": "pubsub"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"isOptional": false,
|
66
|
+
"isSpread": false
|
66
67
|
},
|
67
|
-
|
68
|
-
|
69
|
-
"__schema": "TypeRefSchema",
|
68
|
+
{
|
69
|
+
"__schema": "ParameterSchema",
|
70
70
|
"location": {
|
71
71
|
"filePath": "webpack.main.runtime.ts",
|
72
72
|
"line": 71,
|
73
|
-
"character":
|
73
|
+
"character": 5
|
74
74
|
},
|
75
|
-
"name": "
|
76
|
-
"
|
77
|
-
"
|
78
|
-
"
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
"
|
75
|
+
"name": "workspace",
|
76
|
+
"type": {
|
77
|
+
"__schema": "TypeRefSchema",
|
78
|
+
"location": {
|
79
|
+
"filePath": "webpack.main.runtime.ts",
|
80
|
+
"line": 71,
|
81
|
+
"character": 24
|
82
|
+
},
|
83
|
+
"name": "Workspace",
|
84
|
+
"componentId": {
|
85
|
+
"scope": "teambit.workspace",
|
86
|
+
"name": "workspace"
|
87
|
+
}
|
88
|
+
},
|
89
|
+
"isOptional": false,
|
90
|
+
"isSpread": false
|
90
91
|
},
|
91
|
-
|
92
|
-
|
93
|
-
"__schema": "TypeRefSchema",
|
92
|
+
{
|
93
|
+
"__schema": "ParameterSchema",
|
94
94
|
"location": {
|
95
95
|
"filePath": "webpack.main.runtime.ts",
|
96
96
|
"line": 76,
|
97
|
-
"character":
|
97
|
+
"character": 5
|
98
98
|
},
|
99
|
-
"name": "
|
100
|
-
"
|
101
|
-
"
|
102
|
-
"
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
"
|
99
|
+
"name": "bundler",
|
100
|
+
"type": {
|
101
|
+
"__schema": "TypeRefSchema",
|
102
|
+
"location": {
|
103
|
+
"filePath": "webpack.main.runtime.ts",
|
104
|
+
"line": 76,
|
105
|
+
"character": 22
|
106
|
+
},
|
107
|
+
"name": "BundlerMain",
|
108
|
+
"componentId": {
|
109
|
+
"scope": "teambit.compilation",
|
110
|
+
"name": "bundler"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"isOptional": false,
|
114
|
+
"isSpread": false
|
114
115
|
},
|
115
|
-
|
116
|
-
|
117
|
-
"__schema": "TypeRefSchema",
|
116
|
+
{
|
117
|
+
"__schema": "ParameterSchema",
|
118
118
|
"location": {
|
119
119
|
"filePath": "webpack.main.runtime.ts",
|
120
120
|
"line": 81,
|
121
|
-
"character":
|
121
|
+
"character": 5
|
122
122
|
},
|
123
|
-
"name": "
|
124
|
-
"
|
125
|
-
"
|
126
|
-
"
|
127
|
-
|
123
|
+
"name": "logger",
|
124
|
+
"type": {
|
125
|
+
"__schema": "TypeRefSchema",
|
126
|
+
"location": {
|
127
|
+
"filePath": "webpack.main.runtime.ts",
|
128
|
+
"line": 81,
|
129
|
+
"character": 20
|
130
|
+
},
|
131
|
+
"name": "Logger",
|
132
|
+
"componentId": {
|
133
|
+
"scope": "teambit.harmony",
|
134
|
+
"name": "logger"
|
135
|
+
}
|
136
|
+
},
|
137
|
+
"isOptional": false,
|
138
|
+
"isSpread": false
|
139
|
+
}
|
140
|
+
],
|
141
|
+
"returnType": {
|
142
|
+
"__schema": "ThisTypeSchema",
|
143
|
+
"location": {
|
144
|
+
"filePath": "webpack.main.runtime.ts",
|
145
|
+
"line": 61,
|
146
|
+
"character": 1
|
128
147
|
},
|
129
|
-
"
|
130
|
-
"isSpread": false
|
131
|
-
}
|
132
|
-
],
|
133
|
-
"returnType": {
|
134
|
-
"__schema": "ThisTypeSchema",
|
135
|
-
"location": {
|
136
|
-
"filePath": "webpack.main.runtime.ts",
|
137
|
-
"line": 61,
|
138
|
-
"character": 1
|
148
|
+
"name": "WebpackMain"
|
139
149
|
},
|
140
|
-
"
|
141
|
-
},
|
142
|
-
"modifiers": []
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"__schema": "FunctionLikeSchema",
|
146
|
-
"location": {
|
147
|
-
"filePath": "webpack.main.runtime.ts",
|
148
|
-
"line": 87,
|
149
|
-
"character": 3
|
150
|
+
"modifiers": []
|
150
151
|
},
|
151
|
-
|
152
|
-
"__schema": "
|
152
|
+
{
|
153
|
+
"__schema": "FunctionLikeSchema",
|
153
154
|
"location": {
|
154
155
|
"filePath": "webpack.main.runtime.ts",
|
155
|
-
"line":
|
156
|
+
"line": 87,
|
156
157
|
"character": 3
|
157
158
|
},
|
158
|
-
"
|
159
|
-
|
160
|
-
},
|
161
|
-
"signature": "(method) WebpackMain.createDevServer(context: DevServerContext, transformers?: WebpackConfigTransformer[], webpackModulePath?: string, webpackDevServerModulePath?: string): DevServer",
|
162
|
-
"name": "createDevServer",
|
163
|
-
"params": [
|
164
|
-
{
|
165
|
-
"__schema": "ParameterSchema",
|
159
|
+
"doc": {
|
160
|
+
"__schema": "DocSchema",
|
166
161
|
"location": {
|
167
162
|
"filePath": "webpack.main.runtime.ts",
|
168
|
-
"line":
|
169
|
-
"character":
|
163
|
+
"line": 84,
|
164
|
+
"character": 3
|
170
165
|
},
|
171
|
-
"
|
172
|
-
"
|
173
|
-
|
166
|
+
"raw": "/**\n * create an instance of bit-compliant webpack dev server for a set of components\n */",
|
167
|
+
"comment": "create an instance of bit-compliant webpack dev server for a set of components"
|
168
|
+
},
|
169
|
+
"signature": "(method) WebpackMain.createDevServer(context: DevServerContext, transformers?: WebpackConfigTransformer[], webpackModulePath?: string, webpackDevServerModulePath?: string): DevServer",
|
170
|
+
"name": "createDevServer",
|
171
|
+
"params": [
|
172
|
+
{
|
173
|
+
"__schema": "ParameterSchema",
|
174
174
|
"location": {
|
175
175
|
"filePath": "webpack.main.runtime.ts",
|
176
176
|
"line": 88,
|
177
|
-
"character":
|
177
|
+
"character": 5
|
178
178
|
},
|
179
|
-
"name": "
|
180
|
-
"
|
181
|
-
"
|
182
|
-
"
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
"
|
179
|
+
"name": "context",
|
180
|
+
"type": {
|
181
|
+
"__schema": "TypeRefSchema",
|
182
|
+
"location": {
|
183
|
+
"filePath": "webpack.main.runtime.ts",
|
184
|
+
"line": 88,
|
185
|
+
"character": 14
|
186
|
+
},
|
187
|
+
"name": "DevServerContext",
|
188
|
+
"componentId": {
|
189
|
+
"scope": "teambit.compilation",
|
190
|
+
"name": "bundler"
|
191
|
+
}
|
192
|
+
},
|
193
|
+
"isOptional": false,
|
194
|
+
"isSpread": false
|
194
195
|
},
|
195
|
-
|
196
|
-
|
197
|
-
"__schema": "TypeArraySchema",
|
196
|
+
{
|
197
|
+
"__schema": "ParameterSchema",
|
198
198
|
"location": {
|
199
199
|
"filePath": "webpack.main.runtime.ts",
|
200
200
|
"line": 89,
|
201
|
-
"character":
|
201
|
+
"character": 5
|
202
202
|
},
|
203
|
+
"name": "transformers",
|
203
204
|
"type": {
|
204
|
-
"__schema": "
|
205
|
+
"__schema": "TypeArraySchema",
|
205
206
|
"location": {
|
206
207
|
"filePath": "webpack.main.runtime.ts",
|
207
208
|
"line": 89,
|
208
209
|
"character": 19
|
209
210
|
},
|
210
|
-
"
|
211
|
-
|
211
|
+
"type": {
|
212
|
+
"__schema": "TypeRefSchema",
|
213
|
+
"location": {
|
214
|
+
"filePath": "webpack.main.runtime.ts",
|
215
|
+
"line": 89,
|
216
|
+
"character": 19
|
217
|
+
},
|
218
|
+
"name": "WebpackConfigTransformer"
|
219
|
+
}
|
220
|
+
},
|
221
|
+
"isOptional": true,
|
222
|
+
"defaultValue": "[]",
|
223
|
+
"isSpread": false
|
212
224
|
},
|
213
|
-
|
214
|
-
|
215
|
-
"isSpread": false
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"__schema": "ParameterSchema",
|
219
|
-
"location": {
|
220
|
-
"filePath": "webpack.main.runtime.ts",
|
221
|
-
"line": 90,
|
222
|
-
"character": 5
|
223
|
-
},
|
224
|
-
"name": "webpackModulePath",
|
225
|
-
"type": {
|
226
|
-
"__schema": "KeywordTypeSchema",
|
225
|
+
{
|
226
|
+
"__schema": "ParameterSchema",
|
227
227
|
"location": {
|
228
228
|
"filePath": "webpack.main.runtime.ts",
|
229
229
|
"line": 90,
|
230
|
-
"character":
|
230
|
+
"character": 5
|
231
231
|
},
|
232
|
-
"name": "
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
"
|
232
|
+
"name": "webpackModulePath",
|
233
|
+
"type": {
|
234
|
+
"__schema": "KeywordTypeSchema",
|
235
|
+
"location": {
|
236
|
+
"filePath": "webpack.main.runtime.ts",
|
237
|
+
"line": 90,
|
238
|
+
"character": 25
|
239
|
+
},
|
240
|
+
"name": "string"
|
241
|
+
},
|
242
|
+
"isOptional": true,
|
243
|
+
"isSpread": false
|
243
244
|
},
|
244
|
-
|
245
|
-
|
246
|
-
"__schema": "KeywordTypeSchema",
|
245
|
+
{
|
246
|
+
"__schema": "ParameterSchema",
|
247
247
|
"location": {
|
248
248
|
"filePath": "webpack.main.runtime.ts",
|
249
249
|
"line": 91,
|
250
|
-
"character":
|
250
|
+
"character": 5
|
251
251
|
},
|
252
|
-
"name": "
|
252
|
+
"name": "webpackDevServerModulePath",
|
253
|
+
"type": {
|
254
|
+
"__schema": "KeywordTypeSchema",
|
255
|
+
"location": {
|
256
|
+
"filePath": "webpack.main.runtime.ts",
|
257
|
+
"line": 91,
|
258
|
+
"character": 34
|
259
|
+
},
|
260
|
+
"name": "string"
|
261
|
+
},
|
262
|
+
"isOptional": true,
|
263
|
+
"isSpread": false
|
264
|
+
}
|
265
|
+
],
|
266
|
+
"returnType": {
|
267
|
+
"__schema": "TypeRefSchema",
|
268
|
+
"location": {
|
269
|
+
"filePath": "webpack.main.runtime.ts",
|
270
|
+
"line": 87,
|
271
|
+
"character": 3
|
253
272
|
},
|
254
|
-
"
|
255
|
-
"
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
273
|
+
"name": "DevServer",
|
274
|
+
"componentId": {
|
275
|
+
"scope": "teambit.compilation",
|
276
|
+
"name": "bundler"
|
277
|
+
}
|
278
|
+
},
|
279
|
+
"modifiers": []
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"__schema": "FunctionLikeSchema",
|
260
283
|
"location": {
|
261
284
|
"filePath": "webpack.main.runtime.ts",
|
262
|
-
"line":
|
285
|
+
"line": 116,
|
263
286
|
"character": 3
|
264
287
|
},
|
265
|
-
"
|
266
|
-
"
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
},
|
271
|
-
"modifiers": []
|
272
|
-
},
|
273
|
-
{
|
274
|
-
"__schema": "FunctionLikeSchema",
|
275
|
-
"location": {
|
276
|
-
"filePath": "webpack.main.runtime.ts",
|
277
|
-
"line": 116,
|
278
|
-
"character": 3
|
279
|
-
},
|
280
|
-
"signature": "(method) WebpackMain.mergeConfig(target: any, source: any): any",
|
281
|
-
"name": "mergeConfig",
|
282
|
-
"params": [
|
283
|
-
{
|
284
|
-
"__schema": "ParameterSchema",
|
285
|
-
"location": {
|
286
|
-
"filePath": "webpack.main.runtime.ts",
|
287
|
-
"line": 116,
|
288
|
-
"character": 15
|
289
|
-
},
|
290
|
-
"name": "target",
|
291
|
-
"type": {
|
292
|
-
"__schema": "KeywordTypeSchema",
|
288
|
+
"signature": "(method) WebpackMain.mergeConfig(target: any, source: any): any",
|
289
|
+
"name": "mergeConfig",
|
290
|
+
"params": [
|
291
|
+
{
|
292
|
+
"__schema": "ParameterSchema",
|
293
293
|
"location": {
|
294
294
|
"filePath": "webpack.main.runtime.ts",
|
295
295
|
"line": 116,
|
296
|
-
"character":
|
296
|
+
"character": 15
|
297
297
|
},
|
298
|
-
"name": "
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
"
|
298
|
+
"name": "target",
|
299
|
+
"type": {
|
300
|
+
"__schema": "KeywordTypeSchema",
|
301
|
+
"location": {
|
302
|
+
"filePath": "webpack.main.runtime.ts",
|
303
|
+
"line": 116,
|
304
|
+
"character": 23
|
305
|
+
},
|
306
|
+
"name": "any"
|
307
|
+
},
|
308
|
+
"isOptional": false,
|
309
|
+
"isSpread": false
|
309
310
|
},
|
310
|
-
|
311
|
-
|
312
|
-
"__schema": "KeywordTypeSchema",
|
311
|
+
{
|
312
|
+
"__schema": "ParameterSchema",
|
313
313
|
"location": {
|
314
314
|
"filePath": "webpack.main.runtime.ts",
|
315
315
|
"line": 116,
|
316
|
-
"character":
|
316
|
+
"character": 28
|
317
|
+
},
|
318
|
+
"name": "source",
|
319
|
+
"type": {
|
320
|
+
"__schema": "KeywordTypeSchema",
|
321
|
+
"location": {
|
322
|
+
"filePath": "webpack.main.runtime.ts",
|
323
|
+
"line": 116,
|
324
|
+
"character": 36
|
325
|
+
},
|
326
|
+
"name": "any"
|
317
327
|
},
|
318
|
-
"
|
328
|
+
"isOptional": false,
|
329
|
+
"isSpread": false
|
330
|
+
}
|
331
|
+
],
|
332
|
+
"returnType": {
|
333
|
+
"__schema": "KeywordTypeSchema",
|
334
|
+
"location": {
|
335
|
+
"filePath": "webpack.main.runtime.ts",
|
336
|
+
"line": 116,
|
337
|
+
"character": 42
|
319
338
|
},
|
320
|
-
"
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
"__schema": "
|
339
|
+
"name": "any"
|
340
|
+
},
|
341
|
+
"modifiers": []
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"__schema": "FunctionLikeSchema",
|
326
345
|
"location": {
|
327
346
|
"filePath": "webpack.main.runtime.ts",
|
328
|
-
"line":
|
329
|
-
"character":
|
347
|
+
"line": 120,
|
348
|
+
"character": 3
|
330
349
|
},
|
331
|
-
"
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
"__schema": "FunctionLikeSchema",
|
337
|
-
"location": {
|
338
|
-
"filePath": "webpack.main.runtime.ts",
|
339
|
-
"line": 120,
|
340
|
-
"character": 3
|
341
|
-
},
|
342
|
-
"signature": "(method) WebpackMain.createBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[], initialConfigs?: webpack.Configuration[], webpackModuleOrPath?: string | any): WebpackBundler",
|
343
|
-
"name": "createBundler",
|
344
|
-
"params": [
|
345
|
-
{
|
346
|
-
"__schema": "ParameterSchema",
|
347
|
-
"location": {
|
348
|
-
"filePath": "webpack.main.runtime.ts",
|
349
|
-
"line": 121,
|
350
|
-
"character": 5
|
351
|
-
},
|
352
|
-
"name": "context",
|
353
|
-
"type": {
|
354
|
-
"__schema": "TypeRefSchema",
|
350
|
+
"signature": "(method) WebpackMain.createBundler(context: BundlerContext, transformers?: WebpackConfigTransformer[], initialConfigs?: webpack.Configuration[], webpackModuleOrPath?: string | any): WebpackBundler",
|
351
|
+
"name": "createBundler",
|
352
|
+
"params": [
|
353
|
+
{
|
354
|
+
"__schema": "ParameterSchema",
|
355
355
|
"location": {
|
356
356
|
"filePath": "webpack.main.runtime.ts",
|
357
357
|
"line": 121,
|
358
|
-
"character":
|
358
|
+
"character": 5
|
359
359
|
},
|
360
|
-
"name": "
|
361
|
-
"
|
362
|
-
"
|
363
|
-
"
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
"
|
360
|
+
"name": "context",
|
361
|
+
"type": {
|
362
|
+
"__schema": "TypeRefSchema",
|
363
|
+
"location": {
|
364
|
+
"filePath": "webpack.main.runtime.ts",
|
365
|
+
"line": 121,
|
366
|
+
"character": 14
|
367
|
+
},
|
368
|
+
"name": "BundlerContext",
|
369
|
+
"componentId": {
|
370
|
+
"scope": "teambit.compilation",
|
371
|
+
"name": "bundler"
|
372
|
+
}
|
373
|
+
},
|
374
|
+
"isOptional": false,
|
375
|
+
"isSpread": false
|
375
376
|
},
|
376
|
-
|
377
|
-
|
378
|
-
"__schema": "TypeArraySchema",
|
377
|
+
{
|
378
|
+
"__schema": "ParameterSchema",
|
379
379
|
"location": {
|
380
380
|
"filePath": "webpack.main.runtime.ts",
|
381
381
|
"line": 122,
|
382
|
-
"character":
|
382
|
+
"character": 5
|
383
383
|
},
|
384
|
+
"name": "transformers",
|
384
385
|
"type": {
|
385
|
-
"__schema": "
|
386
|
+
"__schema": "TypeArraySchema",
|
386
387
|
"location": {
|
387
388
|
"filePath": "webpack.main.runtime.ts",
|
388
389
|
"line": 122,
|
389
390
|
"character": 19
|
390
391
|
},
|
391
|
-
"
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
"
|
402
|
-
"
|
403
|
-
"
|
392
|
+
"type": {
|
393
|
+
"__schema": "TypeRefSchema",
|
394
|
+
"location": {
|
395
|
+
"filePath": "webpack.main.runtime.ts",
|
396
|
+
"line": 122,
|
397
|
+
"character": 19
|
398
|
+
},
|
399
|
+
"name": "WebpackConfigTransformer"
|
400
|
+
}
|
401
|
+
},
|
402
|
+
"isOptional": true,
|
403
|
+
"defaultValue": "[]",
|
404
|
+
"isSpread": false
|
404
405
|
},
|
405
|
-
|
406
|
-
|
407
|
-
"__schema": "TypeArraySchema",
|
406
|
+
{
|
407
|
+
"__schema": "ParameterSchema",
|
408
408
|
"location": {
|
409
409
|
"filePath": "webpack.main.runtime.ts",
|
410
410
|
"line": 123,
|
411
|
-
"character":
|
411
|
+
"character": 5
|
412
412
|
},
|
413
|
+
"name": "initialConfigs",
|
413
414
|
"type": {
|
414
|
-
"__schema": "
|
415
|
+
"__schema": "TypeArraySchema",
|
415
416
|
"location": {
|
416
417
|
"filePath": "webpack.main.runtime.ts",
|
417
418
|
"line": 123,
|
418
419
|
"character": 22
|
419
420
|
},
|
420
|
-
"
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
"
|
431
|
-
"
|
421
|
+
"type": {
|
422
|
+
"__schema": "TypeRefSchema",
|
423
|
+
"location": {
|
424
|
+
"filePath": "webpack.main.runtime.ts",
|
425
|
+
"line": 123,
|
426
|
+
"character": 22
|
427
|
+
},
|
428
|
+
"name": "webpack.Configuration"
|
429
|
+
}
|
430
|
+
},
|
431
|
+
"isOptional": true,
|
432
|
+
"isSpread": false
|
432
433
|
},
|
433
|
-
|
434
|
-
|
435
|
-
"__schema": "TypeUnionSchema",
|
434
|
+
{
|
435
|
+
"__schema": "ParameterSchema",
|
436
436
|
"location": {
|
437
437
|
"filePath": "webpack.main.runtime.ts",
|
438
438
|
"line": 124,
|
439
|
-
"character":
|
439
|
+
"character": 5
|
440
440
|
},
|
441
|
-
"
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
},
|
449
|
-
"name": "string"
|
441
|
+
"name": "webpackModuleOrPath",
|
442
|
+
"type": {
|
443
|
+
"__schema": "TypeUnionSchema",
|
444
|
+
"location": {
|
445
|
+
"filePath": "webpack.main.runtime.ts",
|
446
|
+
"line": 124,
|
447
|
+
"character": 27
|
450
448
|
},
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
"
|
455
|
-
|
456
|
-
|
449
|
+
"types": [
|
450
|
+
{
|
451
|
+
"__schema": "KeywordTypeSchema",
|
452
|
+
"location": {
|
453
|
+
"filePath": "webpack.main.runtime.ts",
|
454
|
+
"line": 124,
|
455
|
+
"character": 27
|
456
|
+
},
|
457
|
+
"name": "string"
|
457
458
|
},
|
458
|
-
|
459
|
-
|
460
|
-
|
459
|
+
{
|
460
|
+
"__schema": "KeywordTypeSchema",
|
461
|
+
"location": {
|
462
|
+
"filePath": "webpack.main.runtime.ts",
|
463
|
+
"line": 124,
|
464
|
+
"character": 36
|
465
|
+
},
|
466
|
+
"name": "any"
|
467
|
+
}
|
468
|
+
]
|
469
|
+
},
|
470
|
+
"isOptional": true,
|
471
|
+
"isSpread": false
|
472
|
+
}
|
473
|
+
],
|
474
|
+
"returnType": {
|
475
|
+
"__schema": "TypeRefSchema",
|
476
|
+
"location": {
|
477
|
+
"filePath": "webpack.main.runtime.ts",
|
478
|
+
"line": 120,
|
479
|
+
"character": 3
|
461
480
|
},
|
462
|
-
"
|
463
|
-
"isSpread": false
|
464
|
-
}
|
465
|
-
],
|
466
|
-
"returnType": {
|
467
|
-
"__schema": "TypeRefSchema",
|
468
|
-
"location": {
|
469
|
-
"filePath": "webpack.main.runtime.ts",
|
470
|
-
"line": 120,
|
471
|
-
"character": 3
|
481
|
+
"name": "WebpackBundler"
|
472
482
|
},
|
473
|
-
"
|
474
|
-
},
|
475
|
-
"modifiers": []
|
476
|
-
},
|
477
|
-
{
|
478
|
-
"__schema": "VariableLikeSchema",
|
479
|
-
"location": {
|
480
|
-
"filePath": "webpack.main.runtime.ts",
|
481
|
-
"line": 217,
|
482
|
-
"character": 3
|
483
|
+
"modifiers": []
|
483
484
|
},
|
484
|
-
|
485
|
-
|
486
|
-
"type": {
|
487
|
-
"__schema": "InferenceTypeSchema",
|
485
|
+
{
|
486
|
+
"__schema": "VariableLikeSchema",
|
488
487
|
"location": {
|
489
488
|
"filePath": "webpack.main.runtime.ts",
|
490
489
|
"line": 217,
|
491
490
|
"character": 3
|
492
491
|
},
|
493
|
-
"
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
492
|
+
"signature": "(property) WebpackMain.slots: never[]",
|
493
|
+
"name": "slots",
|
494
|
+
"type": {
|
495
|
+
"__schema": "InferenceTypeSchema",
|
496
|
+
"location": {
|
497
|
+
"filePath": "webpack.main.runtime.ts",
|
498
|
+
"line": 217,
|
499
|
+
"character": 3
|
500
|
+
},
|
501
|
+
"type": "never[]"
|
502
|
+
},
|
503
|
+
"isOptional": true,
|
504
|
+
"defaultValue": "[]"
|
504
505
|
},
|
505
|
-
|
506
|
-
|
507
|
-
"type": {
|
508
|
-
"__schema": "InferenceTypeSchema",
|
506
|
+
{
|
507
|
+
"__schema": "VariableLikeSchema",
|
509
508
|
"location": {
|
510
509
|
"filePath": "webpack.main.runtime.ts",
|
511
510
|
"line": 219,
|
512
511
|
"character": 3
|
513
512
|
},
|
514
|
-
"
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
513
|
+
"signature": "(property) WebpackMain.runtime: RuntimeDefinition",
|
514
|
+
"name": "runtime",
|
515
|
+
"type": {
|
516
|
+
"__schema": "InferenceTypeSchema",
|
517
|
+
"location": {
|
518
|
+
"filePath": "webpack.main.runtime.ts",
|
519
|
+
"line": 219,
|
520
|
+
"character": 3
|
521
|
+
},
|
522
|
+
"type": "RuntimeDefinition"
|
523
|
+
},
|
524
|
+
"isOptional": true,
|
525
|
+
"defaultValue": "MainRuntime"
|
525
526
|
},
|
526
|
-
|
527
|
-
|
528
|
-
"type": {
|
529
|
-
"__schema": "InferenceTypeSchema",
|
527
|
+
{
|
528
|
+
"__schema": "VariableLikeSchema",
|
530
529
|
"location": {
|
531
530
|
"filePath": "webpack.main.runtime.ts",
|
532
531
|
"line": 220,
|
533
532
|
"character": 3
|
534
533
|
},
|
535
|
-
"
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"__schema": "FunctionLikeSchema",
|
542
|
-
"location": {
|
543
|
-
"filePath": "webpack.main.runtime.ts",
|
544
|
-
"line": 222,
|
545
|
-
"character": 3
|
546
|
-
},
|
547
|
-
"signature": "(method) WebpackMain.provider([pubsub, workspace, bundler, logger]: [PubsubMain, Workspace, BundlerMain, LoggerMain]): Promise<WebpackMain>",
|
548
|
-
"name": "provider",
|
549
|
-
"params": [
|
550
|
-
{
|
551
|
-
"__schema": "ParameterSchema",
|
534
|
+
"signature": "(property) WebpackMain.dependencies: Aspect[]",
|
535
|
+
"name": "dependencies",
|
536
|
+
"type": {
|
537
|
+
"__schema": "InferenceTypeSchema",
|
552
538
|
"location": {
|
553
539
|
"filePath": "webpack.main.runtime.ts",
|
554
|
-
"line":
|
555
|
-
"character":
|
540
|
+
"line": 220,
|
541
|
+
"character": 3
|
556
542
|
},
|
557
|
-
"
|
558
|
-
|
559
|
-
|
543
|
+
"type": "Aspect[]"
|
544
|
+
},
|
545
|
+
"isOptional": true,
|
546
|
+
"defaultValue": "[PubsubAspect, WorkspaceAspect, BundlerAspect, LoggerAspect]"
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"__schema": "FunctionLikeSchema",
|
550
|
+
"location": {
|
551
|
+
"filePath": "webpack.main.runtime.ts",
|
552
|
+
"line": 222,
|
553
|
+
"character": 3
|
554
|
+
},
|
555
|
+
"signature": "(method) WebpackMain.provider([pubsub, workspace, bundler, logger]: [PubsubMain, Workspace, BundlerMain, LoggerMain]): Promise<WebpackMain>",
|
556
|
+
"name": "provider",
|
557
|
+
"params": [
|
558
|
+
{
|
559
|
+
"__schema": "ParameterSchema",
|
560
560
|
"location": {
|
561
561
|
"filePath": "webpack.main.runtime.ts",
|
562
562
|
"line": 222,
|
563
|
-
"character":
|
563
|
+
"character": 25
|
564
564
|
},
|
565
|
-
"
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
},
|
573
|
-
"name": "PubsubMain",
|
574
|
-
"componentId": {
|
575
|
-
"scope": "teambit.harmony",
|
576
|
-
"name": "pubsub"
|
577
|
-
}
|
565
|
+
"name": "[ pubsub, workspace, bundler, logger ]",
|
566
|
+
"type": {
|
567
|
+
"__schema": "TupleTypeSchema",
|
568
|
+
"location": {
|
569
|
+
"filePath": "webpack.main.runtime.ts",
|
570
|
+
"line": 222,
|
571
|
+
"character": 63
|
578
572
|
},
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
"
|
583
|
-
|
584
|
-
|
573
|
+
"elements": [
|
574
|
+
{
|
575
|
+
"__schema": "TypeRefSchema",
|
576
|
+
"location": {
|
577
|
+
"filePath": "webpack.main.runtime.ts",
|
578
|
+
"line": 222,
|
579
|
+
"character": 64
|
580
|
+
},
|
581
|
+
"name": "PubsubMain",
|
582
|
+
"componentId": {
|
583
|
+
"scope": "teambit.harmony",
|
584
|
+
"name": "pubsub"
|
585
|
+
}
|
585
586
|
},
|
586
|
-
|
587
|
-
|
588
|
-
"
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
587
|
+
{
|
588
|
+
"__schema": "TypeRefSchema",
|
589
|
+
"location": {
|
590
|
+
"filePath": "webpack.main.runtime.ts",
|
591
|
+
"line": 222,
|
592
|
+
"character": 76
|
593
|
+
},
|
594
|
+
"name": "Workspace",
|
595
|
+
"componentId": {
|
596
|
+
"scope": "teambit.workspace",
|
597
|
+
"name": "workspace"
|
598
|
+
}
|
598
599
|
},
|
599
|
-
|
600
|
-
|
601
|
-
"
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
600
|
+
{
|
601
|
+
"__schema": "TypeRefSchema",
|
602
|
+
"location": {
|
603
|
+
"filePath": "webpack.main.runtime.ts",
|
604
|
+
"line": 222,
|
605
|
+
"character": 87
|
606
|
+
},
|
607
|
+
"name": "BundlerMain",
|
608
|
+
"componentId": {
|
609
|
+
"scope": "teambit.compilation",
|
610
|
+
"name": "bundler"
|
611
|
+
}
|
611
612
|
},
|
612
|
-
|
613
|
-
|
614
|
-
"
|
615
|
-
|
613
|
+
{
|
614
|
+
"__schema": "TypeRefSchema",
|
615
|
+
"location": {
|
616
|
+
"filePath": "webpack.main.runtime.ts",
|
617
|
+
"line": 222,
|
618
|
+
"character": 100
|
619
|
+
},
|
620
|
+
"name": "LoggerMain",
|
621
|
+
"componentId": {
|
622
|
+
"scope": "teambit.harmony",
|
623
|
+
"name": "logger"
|
624
|
+
}
|
616
625
|
}
|
617
|
-
|
618
|
-
|
626
|
+
]
|
627
|
+
},
|
628
|
+
"isOptional": false,
|
629
|
+
"isSpread": false
|
630
|
+
}
|
631
|
+
],
|
632
|
+
"returnType": {
|
633
|
+
"__schema": "InferenceTypeSchema",
|
634
|
+
"location": {
|
635
|
+
"filePath": "webpack.main.runtime.ts",
|
636
|
+
"line": 222,
|
637
|
+
"character": 3
|
619
638
|
},
|
620
|
-
"
|
621
|
-
"isSpread": false
|
622
|
-
}
|
623
|
-
],
|
624
|
-
"returnType": {
|
625
|
-
"__schema": "InferenceTypeSchema",
|
626
|
-
"location": {
|
627
|
-
"filePath": "webpack.main.runtime.ts",
|
628
|
-
"line": 222,
|
629
|
-
"character": 3
|
639
|
+
"type": "Promise<WebpackMain>"
|
630
640
|
},
|
631
|
-
"
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
"implementNodes": []
|
641
|
+
"modifiers": [
|
642
|
+
"static",
|
643
|
+
"async"
|
644
|
+
]
|
645
|
+
}
|
646
|
+
],
|
647
|
+
"extendsNodes": [],
|
648
|
+
"implementNodes": []
|
649
|
+
}
|
641
650
|
},
|
642
651
|
{
|
643
|
-
"__schema": "
|
652
|
+
"__schema": "ExportSchema",
|
644
653
|
"location": {
|
645
|
-
"filePath": "
|
646
|
-
"line":
|
647
|
-
"character":
|
654
|
+
"filePath": "index.ts",
|
655
|
+
"line": 3,
|
656
|
+
"character": 3
|
648
657
|
},
|
649
|
-
"signature": "type WebpackConfigTransformer = (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
650
658
|
"name": "WebpackConfigTransformer",
|
651
|
-
"
|
652
|
-
"__schema": "
|
659
|
+
"exportNode": {
|
660
|
+
"__schema": "TypeSchema",
|
653
661
|
"location": {
|
654
662
|
"filePath": "webpack.main.runtime.ts",
|
655
663
|
"line": 51,
|
656
|
-
"character":
|
664
|
+
"character": 1
|
657
665
|
},
|
658
|
-
"signature": "(config:
|
659
|
-
"name": "",
|
660
|
-
"
|
661
|
-
|
662
|
-
|
663
|
-
"
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
666
|
+
"signature": "type WebpackConfigTransformer = (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
667
|
+
"name": "WebpackConfigTransformer",
|
668
|
+
"type": {
|
669
|
+
"__schema": "FunctionLikeSchema",
|
670
|
+
"location": {
|
671
|
+
"filePath": "webpack.main.runtime.ts",
|
672
|
+
"line": 51,
|
673
|
+
"character": 40
|
674
|
+
},
|
675
|
+
"signature": "(config: \u001b[2m(component: teambit.webpack/modules/config-mutator)\u001b[22m WebpackConfigMutator, context: WebpackConfigTransformContext): \u001b[2m(component: teambit.webpack/modules/config-mutator)\u001b[22m WebpackConfigMutator",
|
676
|
+
"name": "",
|
677
|
+
"params": [
|
678
|
+
{
|
679
|
+
"__schema": "ParameterSchema",
|
671
680
|
"location": {
|
672
681
|
"filePath": "webpack.main.runtime.ts",
|
673
682
|
"line": 52,
|
674
|
-
"character":
|
683
|
+
"character": 3
|
675
684
|
},
|
676
|
-
"name": "
|
677
|
-
"
|
678
|
-
"
|
679
|
-
"
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
"
|
685
|
+
"name": "config",
|
686
|
+
"type": {
|
687
|
+
"__schema": "TypeRefSchema",
|
688
|
+
"location": {
|
689
|
+
"filePath": "webpack.main.runtime.ts",
|
690
|
+
"line": 52,
|
691
|
+
"character": 11
|
692
|
+
},
|
693
|
+
"name": "WebpackConfigMutator",
|
694
|
+
"componentId": {
|
695
|
+
"scope": "teambit.webpack",
|
696
|
+
"name": "modules/config-mutator",
|
697
|
+
"version": "0.0.166"
|
698
|
+
}
|
699
|
+
},
|
700
|
+
"isOptional": false,
|
701
|
+
"isSpread": false
|
692
702
|
},
|
693
|
-
|
694
|
-
|
695
|
-
"__schema": "TypeRefSchema",
|
703
|
+
{
|
704
|
+
"__schema": "ParameterSchema",
|
696
705
|
"location": {
|
697
706
|
"filePath": "webpack.main.runtime.ts",
|
698
707
|
"line": 53,
|
699
|
-
"character":
|
708
|
+
"character": 3
|
709
|
+
},
|
710
|
+
"name": "context",
|
711
|
+
"type": {
|
712
|
+
"__schema": "TypeRefSchema",
|
713
|
+
"location": {
|
714
|
+
"filePath": "webpack.main.runtime.ts",
|
715
|
+
"line": 53,
|
716
|
+
"character": 12
|
717
|
+
},
|
718
|
+
"name": "WebpackConfigTransformContext"
|
700
719
|
},
|
701
|
-
"
|
720
|
+
"isOptional": false,
|
721
|
+
"isSpread": false
|
722
|
+
}
|
723
|
+
],
|
724
|
+
"returnType": {
|
725
|
+
"__schema": "TypeRefSchema",
|
726
|
+
"location": {
|
727
|
+
"filePath": "webpack.main.runtime.ts",
|
728
|
+
"line": 54,
|
729
|
+
"character": 6
|
702
730
|
},
|
703
|
-
"
|
704
|
-
"
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
"character": 6
|
713
|
-
},
|
714
|
-
"name": "WebpackConfigMutator",
|
715
|
-
"componentId": {
|
716
|
-
"scope": "teambit.webpack",
|
717
|
-
"name": "modules/config-mutator",
|
718
|
-
"version": "0.0.166"
|
719
|
-
}
|
720
|
-
},
|
721
|
-
"modifiers": []
|
731
|
+
"name": "WebpackConfigMutator",
|
732
|
+
"componentId": {
|
733
|
+
"scope": "teambit.webpack",
|
734
|
+
"name": "modules/config-mutator",
|
735
|
+
"version": "0.0.166"
|
736
|
+
}
|
737
|
+
},
|
738
|
+
"modifiers": []
|
739
|
+
}
|
722
740
|
}
|
723
741
|
},
|
724
742
|
{
|
725
|
-
"__schema": "
|
743
|
+
"__schema": "ExportSchema",
|
726
744
|
"location": {
|
727
|
-
"filePath": "
|
728
|
-
"line":
|
729
|
-
"character":
|
745
|
+
"filePath": "index.ts",
|
746
|
+
"line": 4,
|
747
|
+
"character": 3
|
730
748
|
},
|
731
|
-
"signature": "type WebpackConfigTransformContext = GlobalWebpackConfigTransformContext & {\n target: Target;\n}",
|
732
749
|
"name": "WebpackConfigTransformContext",
|
733
|
-
"
|
734
|
-
"__schema": "
|
750
|
+
"exportNode": {
|
751
|
+
"__schema": "TypeSchema",
|
735
752
|
"location": {
|
736
753
|
"filePath": "webpack.main.runtime.ts",
|
737
754
|
"line": 30,
|
738
|
-
"character":
|
755
|
+
"character": 1
|
739
756
|
},
|
740
|
-
"
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
"name": "GlobalWebpackConfigTransformContext"
|
757
|
+
"signature": "type WebpackConfigTransformContext = GlobalWebpackConfigTransformContext & {\n target: Target;\n}",
|
758
|
+
"name": "WebpackConfigTransformContext",
|
759
|
+
"type": {
|
760
|
+
"__schema": "TypeIntersectionSchema",
|
761
|
+
"location": {
|
762
|
+
"filePath": "webpack.main.runtime.ts",
|
763
|
+
"line": 30,
|
764
|
+
"character": 45
|
749
765
|
},
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
"
|
754
|
-
|
755
|
-
|
766
|
+
"types": [
|
767
|
+
{
|
768
|
+
"__schema": "TypeRefSchema",
|
769
|
+
"location": {
|
770
|
+
"filePath": "webpack.main.runtime.ts",
|
771
|
+
"line": 30,
|
772
|
+
"character": 45
|
773
|
+
},
|
774
|
+
"name": "GlobalWebpackConfigTransformContext"
|
756
775
|
},
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
"
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
"type": {
|
768
|
-
"__schema": "TypeRefSchema",
|
776
|
+
{
|
777
|
+
"__schema": "TypeLiteralSchema",
|
778
|
+
"location": {
|
779
|
+
"filePath": "webpack.main.runtime.ts",
|
780
|
+
"line": 30,
|
781
|
+
"character": 83
|
782
|
+
},
|
783
|
+
"members": [
|
784
|
+
{
|
785
|
+
"__schema": "VariableLikeSchema",
|
769
786
|
"location": {
|
770
787
|
"filePath": "webpack.main.runtime.ts",
|
771
788
|
"line": 31,
|
772
789
|
"character": 3
|
773
790
|
},
|
774
|
-
"
|
775
|
-
"
|
776
|
-
|
777
|
-
"
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
791
|
+
"signature": "(property) target: Target",
|
792
|
+
"name": "target",
|
793
|
+
"type": {
|
794
|
+
"__schema": "TypeRefSchema",
|
795
|
+
"location": {
|
796
|
+
"filePath": "webpack.main.runtime.ts",
|
797
|
+
"line": 31,
|
798
|
+
"character": 3
|
799
|
+
},
|
800
|
+
"name": "Target",
|
801
|
+
"componentId": {
|
802
|
+
"scope": "teambit.compilation",
|
803
|
+
"name": "bundler"
|
804
|
+
}
|
805
|
+
},
|
806
|
+
"isOptional": false
|
807
|
+
}
|
808
|
+
]
|
809
|
+
}
|
810
|
+
]
|
811
|
+
}
|
785
812
|
}
|
786
813
|
},
|
787
814
|
{
|
788
|
-
"__schema": "
|
815
|
+
"__schema": "ExportSchema",
|
789
816
|
"location": {
|
790
|
-
"filePath": "
|
791
|
-
"line":
|
792
|
-
"character":
|
817
|
+
"filePath": "index.ts",
|
818
|
+
"line": 5,
|
819
|
+
"character": 3
|
793
820
|
},
|
794
|
-
"signature": "type WebpackConfigDevServerTransformContext = GlobalWebpackConfigTransformContext & DevServerContext",
|
795
821
|
"name": "WebpackConfigDevServerTransformContext",
|
796
|
-
"
|
797
|
-
"__schema": "
|
822
|
+
"exportNode": {
|
823
|
+
"__schema": "TypeSchema",
|
798
824
|
"location": {
|
799
825
|
"filePath": "webpack.main.runtime.ts",
|
800
826
|
"line": 34,
|
801
|
-
"character":
|
827
|
+
"character": 1
|
802
828
|
},
|
803
|
-
"
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
"name": "GlobalWebpackConfigTransformContext"
|
829
|
+
"signature": "type WebpackConfigDevServerTransformContext = GlobalWebpackConfigTransformContext & DevServerContext",
|
830
|
+
"name": "WebpackConfigDevServerTransformContext",
|
831
|
+
"type": {
|
832
|
+
"__schema": "TypeIntersectionSchema",
|
833
|
+
"location": {
|
834
|
+
"filePath": "webpack.main.runtime.ts",
|
835
|
+
"line": 34,
|
836
|
+
"character": 54
|
812
837
|
},
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
"
|
817
|
-
|
818
|
-
|
838
|
+
"types": [
|
839
|
+
{
|
840
|
+
"__schema": "TypeRefSchema",
|
841
|
+
"location": {
|
842
|
+
"filePath": "webpack.main.runtime.ts",
|
843
|
+
"line": 34,
|
844
|
+
"character": 54
|
845
|
+
},
|
846
|
+
"name": "GlobalWebpackConfigTransformContext"
|
819
847
|
},
|
820
|
-
|
821
|
-
|
822
|
-
"
|
823
|
-
|
848
|
+
{
|
849
|
+
"__schema": "TypeRefSchema",
|
850
|
+
"location": {
|
851
|
+
"filePath": "webpack.main.runtime.ts",
|
852
|
+
"line": 34,
|
853
|
+
"character": 92
|
854
|
+
},
|
855
|
+
"name": "DevServerContext",
|
856
|
+
"componentId": {
|
857
|
+
"scope": "teambit.compilation",
|
858
|
+
"name": "bundler"
|
859
|
+
}
|
824
860
|
}
|
825
|
-
|
826
|
-
|
861
|
+
]
|
862
|
+
}
|
827
863
|
}
|
828
864
|
},
|
829
865
|
{
|
830
|
-
"__schema": "
|
866
|
+
"__schema": "ExportSchema",
|
831
867
|
"location": {
|
832
|
-
"filePath": "
|
833
|
-
"line":
|
834
|
-
"character":
|
868
|
+
"filePath": "index.ts",
|
869
|
+
"line": 6,
|
870
|
+
"character": 3
|
835
871
|
},
|
836
|
-
"signature": "type GlobalWebpackConfigTransformContext = {\n mode: BundlerMode;\n isEnvTemplate?: boolean | undefined;\n hostRootDir?: string | undefined;\n}",
|
837
872
|
"name": "GlobalWebpackConfigTransformContext",
|
838
|
-
"
|
839
|
-
"__schema": "
|
873
|
+
"exportNode": {
|
874
|
+
"__schema": "TypeSchema",
|
840
875
|
"location": {
|
841
876
|
"filePath": "webpack.main.runtime.ts",
|
842
877
|
"line": 36,
|
843
|
-
"character":
|
878
|
+
"character": 1
|
844
879
|
},
|
845
|
-
"
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
"__schema": "
|
880
|
+
"signature": "type GlobalWebpackConfigTransformContext = {\n mode: BundlerMode;\n isEnvTemplate?: boolean | undefined;\n hostRootDir?: string | undefined;\n}",
|
881
|
+
"name": "GlobalWebpackConfigTransformContext",
|
882
|
+
"type": {
|
883
|
+
"__schema": "TypeLiteralSchema",
|
884
|
+
"location": {
|
885
|
+
"filePath": "webpack.main.runtime.ts",
|
886
|
+
"line": 36,
|
887
|
+
"character": 51
|
888
|
+
},
|
889
|
+
"members": [
|
890
|
+
{
|
891
|
+
"__schema": "VariableLikeSchema",
|
857
892
|
"location": {
|
858
893
|
"filePath": "webpack.main.runtime.ts",
|
859
894
|
"line": 37,
|
860
895
|
"character": 3
|
861
896
|
},
|
862
|
-
"
|
863
|
-
"
|
864
|
-
|
865
|
-
"
|
866
|
-
|
897
|
+
"signature": "(property) mode: BundlerMode",
|
898
|
+
"name": "mode",
|
899
|
+
"type": {
|
900
|
+
"__schema": "TypeRefSchema",
|
901
|
+
"location": {
|
902
|
+
"filePath": "webpack.main.runtime.ts",
|
903
|
+
"line": 37,
|
904
|
+
"character": 3
|
905
|
+
},
|
906
|
+
"name": "BundlerMode",
|
907
|
+
"componentId": {
|
908
|
+
"scope": "teambit.compilation",
|
909
|
+
"name": "bundler"
|
910
|
+
}
|
911
|
+
},
|
912
|
+
"isOptional": false
|
867
913
|
},
|
868
|
-
|
914
|
+
{
|
915
|
+
"__schema": "VariableLikeSchema",
|
916
|
+
"location": {
|
917
|
+
"filePath": "webpack.main.runtime.ts",
|
918
|
+
"line": 41,
|
919
|
+
"character": 3
|
920
|
+
},
|
921
|
+
"doc": {
|
922
|
+
"__schema": "DocSchema",
|
923
|
+
"location": {
|
924
|
+
"filePath": "webpack.main.runtime.ts",
|
925
|
+
"line": 38,
|
926
|
+
"character": 3
|
927
|
+
},
|
928
|
+
"raw": "/**\n * Whether the config is for an env template bundling\n */",
|
929
|
+
"comment": "Whether the config is for an env template bundling"
|
930
|
+
},
|
931
|
+
"signature": "(property) isEnvTemplate?: boolean | undefined",
|
932
|
+
"name": "isEnvTemplate",
|
933
|
+
"type": {
|
934
|
+
"__schema": "KeywordTypeSchema",
|
935
|
+
"location": {
|
936
|
+
"filePath": "webpack.main.runtime.ts",
|
937
|
+
"line": 41,
|
938
|
+
"character": 19
|
939
|
+
},
|
940
|
+
"name": "boolean"
|
941
|
+
},
|
942
|
+
"isOptional": true
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"__schema": "VariableLikeSchema",
|
946
|
+
"location": {
|
947
|
+
"filePath": "webpack.main.runtime.ts",
|
948
|
+
"line": 48,
|
949
|
+
"character": 3
|
950
|
+
},
|
951
|
+
"doc": {
|
952
|
+
"__schema": "DocSchema",
|
953
|
+
"location": {
|
954
|
+
"filePath": "webpack.main.runtime.ts",
|
955
|
+
"line": 42,
|
956
|
+
"character": 3
|
957
|
+
},
|
958
|
+
"raw": "/**\n * A path for the host root dir\n * Host root dir is usually the env root dir\n * This can be used in different bundle options which run require.resolve\n * for example when configuring webpack aliases or webpack expose loader on the peers deps\n */",
|
959
|
+
"comment": "A path for the host root dir\nHost root dir is usually the env root dir\nThis can be used in different bundle options which run require.resolve\nfor example when configuring webpack aliases or webpack expose loader on the peers deps"
|
960
|
+
},
|
961
|
+
"signature": "(property) hostRootDir?: string | undefined",
|
962
|
+
"name": "hostRootDir",
|
963
|
+
"type": {
|
964
|
+
"__schema": "KeywordTypeSchema",
|
965
|
+
"location": {
|
966
|
+
"filePath": "webpack.main.runtime.ts",
|
967
|
+
"line": 48,
|
968
|
+
"character": 17
|
969
|
+
},
|
970
|
+
"name": "string"
|
971
|
+
},
|
972
|
+
"isOptional": true
|
973
|
+
}
|
974
|
+
]
|
975
|
+
}
|
976
|
+
}
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"__schema": "ExportSchema",
|
980
|
+
"location": {
|
981
|
+
"filePath": "index.ts",
|
982
|
+
"line": 7,
|
983
|
+
"character": 3
|
984
|
+
},
|
985
|
+
"name": "WebpackConfigDevServerTransformer",
|
986
|
+
"exportNode": {
|
987
|
+
"__schema": "TypeSchema",
|
988
|
+
"location": {
|
989
|
+
"filePath": "webpack.main.runtime.ts",
|
990
|
+
"line": 56,
|
991
|
+
"character": 1
|
992
|
+
},
|
993
|
+
"signature": "type WebpackConfigDevServerTransformer = (config: WebpackConfigMutator, context: WebpackConfigDevServerTransformContext) => WebpackConfigMutator",
|
994
|
+
"name": "WebpackConfigDevServerTransformer",
|
995
|
+
"type": {
|
996
|
+
"__schema": "FunctionLikeSchema",
|
997
|
+
"location": {
|
998
|
+
"filePath": "webpack.main.runtime.ts",
|
999
|
+
"line": 56,
|
1000
|
+
"character": 49
|
869
1001
|
},
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
"
|
875
|
-
"character": 3
|
876
|
-
},
|
877
|
-
"doc": {
|
878
|
-
"__schema": "DocSchema",
|
1002
|
+
"signature": "(config: \u001b[2m(component: teambit.webpack/modules/config-mutator)\u001b[22m WebpackConfigMutator, context: WebpackConfigDevServerTransformContext): \u001b[2m(component: teambit.webpack/modules/config-mutator)\u001b[22m WebpackConfigMutator",
|
1003
|
+
"name": "",
|
1004
|
+
"params": [
|
1005
|
+
{
|
1006
|
+
"__schema": "ParameterSchema",
|
879
1007
|
"location": {
|
880
1008
|
"filePath": "webpack.main.runtime.ts",
|
881
|
-
"line":
|
1009
|
+
"line": 57,
|
882
1010
|
"character": 3
|
883
1011
|
},
|
884
|
-
"
|
885
|
-
"
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
"
|
893
|
-
"
|
894
|
-
|
1012
|
+
"name": "config",
|
1013
|
+
"type": {
|
1014
|
+
"__schema": "TypeRefSchema",
|
1015
|
+
"location": {
|
1016
|
+
"filePath": "webpack.main.runtime.ts",
|
1017
|
+
"line": 57,
|
1018
|
+
"character": 11
|
1019
|
+
},
|
1020
|
+
"name": "WebpackConfigMutator",
|
1021
|
+
"componentId": {
|
1022
|
+
"scope": "teambit.webpack",
|
1023
|
+
"name": "modules/config-mutator",
|
1024
|
+
"version": "0.0.166"
|
1025
|
+
}
|
895
1026
|
},
|
896
|
-
"
|
897
|
-
|
898
|
-
"isOptional": true
|
899
|
-
},
|
900
|
-
{
|
901
|
-
"__schema": "VariableLikeSchema",
|
902
|
-
"location": {
|
903
|
-
"filePath": "webpack.main.runtime.ts",
|
904
|
-
"line": 48,
|
905
|
-
"character": 3
|
1027
|
+
"isOptional": false,
|
1028
|
+
"isSpread": false
|
906
1029
|
},
|
907
|
-
|
908
|
-
"__schema": "
|
1030
|
+
{
|
1031
|
+
"__schema": "ParameterSchema",
|
909
1032
|
"location": {
|
910
1033
|
"filePath": "webpack.main.runtime.ts",
|
911
|
-
"line":
|
1034
|
+
"line": 58,
|
912
1035
|
"character": 3
|
913
1036
|
},
|
914
|
-
"
|
915
|
-
"
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
"
|
923
|
-
"line": 48,
|
924
|
-
"character": 17
|
1037
|
+
"name": "context",
|
1038
|
+
"type": {
|
1039
|
+
"__schema": "TypeRefSchema",
|
1040
|
+
"location": {
|
1041
|
+
"filePath": "webpack.main.runtime.ts",
|
1042
|
+
"line": 58,
|
1043
|
+
"character": 12
|
1044
|
+
},
|
1045
|
+
"name": "WebpackConfigDevServerTransformContext"
|
925
1046
|
},
|
926
|
-
"
|
1047
|
+
"isOptional": false,
|
1048
|
+
"isSpread": false
|
1049
|
+
}
|
1050
|
+
],
|
1051
|
+
"returnType": {
|
1052
|
+
"__schema": "TypeRefSchema",
|
1053
|
+
"location": {
|
1054
|
+
"filePath": "webpack.main.runtime.ts",
|
1055
|
+
"line": 59,
|
1056
|
+
"character": 6
|
927
1057
|
},
|
928
|
-
"
|
929
|
-
|
930
|
-
|
1058
|
+
"name": "WebpackConfigMutator",
|
1059
|
+
"componentId": {
|
1060
|
+
"scope": "teambit.webpack",
|
1061
|
+
"name": "modules/config-mutator",
|
1062
|
+
"version": "0.0.166"
|
1063
|
+
}
|
1064
|
+
},
|
1065
|
+
"modifiers": []
|
1066
|
+
}
|
931
1067
|
}
|
932
1068
|
},
|
933
1069
|
{
|
934
|
-
"__schema": "
|
1070
|
+
"__schema": "ExportSchema",
|
935
1071
|
"location": {
|
936
|
-
"filePath": "
|
937
|
-
"line":
|
938
|
-
"character":
|
1072
|
+
"filePath": "index.ts",
|
1073
|
+
"line": 9,
|
1074
|
+
"character": 10
|
939
1075
|
},
|
940
|
-
"
|
941
|
-
"
|
942
|
-
"type": {
|
1076
|
+
"name": "runTransformersWithContext",
|
1077
|
+
"exportNode": {
|
943
1078
|
"__schema": "FunctionLikeSchema",
|
944
1079
|
"location": {
|
945
|
-
"filePath": "
|
946
|
-
"line":
|
947
|
-
"character":
|
1080
|
+
"filePath": "run-transformer.ts",
|
1081
|
+
"line": 4,
|
1082
|
+
"character": 1
|
948
1083
|
},
|
949
|
-
"signature": "(config:
|
950
|
-
"name": "",
|
1084
|
+
"signature": "function runTransformersWithContext(config: WebpackConfigMutator, transformers: (WebpackConfigTransformer | WebpackConfigDevServerTransformer)[] | undefined, context: any): WebpackConfigMutator",
|
1085
|
+
"name": "runTransformersWithContext",
|
951
1086
|
"params": [
|
952
1087
|
{
|
953
1088
|
"__schema": "ParameterSchema",
|
954
1089
|
"location": {
|
955
|
-
"filePath": "
|
956
|
-
"line":
|
1090
|
+
"filePath": "run-transformer.ts",
|
1091
|
+
"line": 5,
|
957
1092
|
"character": 3
|
958
1093
|
},
|
959
1094
|
"name": "config",
|
960
1095
|
"type": {
|
961
1096
|
"__schema": "TypeRefSchema",
|
962
1097
|
"location": {
|
963
|
-
"filePath": "
|
964
|
-
"line":
|
1098
|
+
"filePath": "run-transformer.ts",
|
1099
|
+
"line": 5,
|
965
1100
|
"character": 11
|
966
1101
|
},
|
967
1102
|
"name": "WebpackConfigMutator",
|
@@ -977,19 +1112,70 @@
|
|
977
1112
|
{
|
978
1113
|
"__schema": "ParameterSchema",
|
979
1114
|
"location": {
|
980
|
-
"filePath": "
|
981
|
-
"line":
|
1115
|
+
"filePath": "run-transformer.ts",
|
1116
|
+
"line": 6,
|
982
1117
|
"character": 3
|
983
1118
|
},
|
984
|
-
"name": "
|
1119
|
+
"name": "transformers",
|
985
1120
|
"type": {
|
986
1121
|
"__schema": "TypeRefSchema",
|
987
1122
|
"location": {
|
988
|
-
"filePath": "
|
989
|
-
"line":
|
1123
|
+
"filePath": "run-transformer.ts",
|
1124
|
+
"line": 6,
|
1125
|
+
"character": 17
|
1126
|
+
},
|
1127
|
+
"name": "Array",
|
1128
|
+
"typeArgs": [
|
1129
|
+
{
|
1130
|
+
"__schema": "TypeUnionSchema",
|
1131
|
+
"location": {
|
1132
|
+
"filePath": "run-transformer.ts",
|
1133
|
+
"line": 6,
|
1134
|
+
"character": 23
|
1135
|
+
},
|
1136
|
+
"types": [
|
1137
|
+
{
|
1138
|
+
"__schema": "TypeRefSchema",
|
1139
|
+
"location": {
|
1140
|
+
"filePath": "run-transformer.ts",
|
1141
|
+
"line": 6,
|
1142
|
+
"character": 23
|
1143
|
+
},
|
1144
|
+
"name": "WebpackConfigTransformer"
|
1145
|
+
},
|
1146
|
+
{
|
1147
|
+
"__schema": "TypeRefSchema",
|
1148
|
+
"location": {
|
1149
|
+
"filePath": "run-transformer.ts",
|
1150
|
+
"line": 6,
|
1151
|
+
"character": 50
|
1152
|
+
},
|
1153
|
+
"name": "WebpackConfigDevServerTransformer"
|
1154
|
+
}
|
1155
|
+
]
|
1156
|
+
}
|
1157
|
+
]
|
1158
|
+
},
|
1159
|
+
"isOptional": true,
|
1160
|
+
"defaultValue": "[]",
|
1161
|
+
"isSpread": false
|
1162
|
+
},
|
1163
|
+
{
|
1164
|
+
"__schema": "ParameterSchema",
|
1165
|
+
"location": {
|
1166
|
+
"filePath": "run-transformer.ts",
|
1167
|
+
"line": 8,
|
1168
|
+
"character": 3
|
1169
|
+
},
|
1170
|
+
"name": "context",
|
1171
|
+
"type": {
|
1172
|
+
"__schema": "KeywordTypeSchema",
|
1173
|
+
"location": {
|
1174
|
+
"filePath": "run-transformer.ts",
|
1175
|
+
"line": 8,
|
990
1176
|
"character": 12
|
991
1177
|
},
|
992
|
-
"name": "
|
1178
|
+
"name": "any"
|
993
1179
|
},
|
994
1180
|
"isOptional": false,
|
995
1181
|
"isSpread": false
|
@@ -998,9 +1184,9 @@
|
|
998
1184
|
"returnType": {
|
999
1185
|
"__schema": "TypeRefSchema",
|
1000
1186
|
"location": {
|
1001
|
-
"filePath": "
|
1002
|
-
"line":
|
1003
|
-
"character":
|
1187
|
+
"filePath": "run-transformer.ts",
|
1188
|
+
"line": 4,
|
1189
|
+
"character": 1
|
1004
1190
|
},
|
1005
1191
|
"name": "WebpackConfigMutator",
|
1006
1192
|
"componentId": {
|
@@ -1008,802 +1194,715 @@
|
|
1008
1194
|
"name": "modules/config-mutator",
|
1009
1195
|
"version": "0.0.166"
|
1010
1196
|
}
|
1011
|
-
},
|
1012
|
-
"modifiers": [
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
"__schema": "FunctionLikeSchema",
|
1017
|
-
"location": {
|
1018
|
-
"filePath": "run-transformer.ts",
|
1019
|
-
"line": 4,
|
1020
|
-
"character": 1
|
1021
|
-
},
|
1022
|
-
"signature": "function runTransformersWithContext(config: WebpackConfigMutator, transformers: (WebpackConfigTransformer | WebpackConfigDevServerTransformer)[] | undefined, context: any): WebpackConfigMutator",
|
1023
|
-
"name": "runTransformersWithContext",
|
1024
|
-
"params": [
|
1025
|
-
{
|
1026
|
-
"__schema": "ParameterSchema",
|
1027
|
-
"location": {
|
1028
|
-
"filePath": "run-transformer.ts",
|
1029
|
-
"line": 5,
|
1030
|
-
"character": 3
|
1031
|
-
},
|
1032
|
-
"name": "config",
|
1033
|
-
"type": {
|
1034
|
-
"__schema": "TypeRefSchema",
|
1035
|
-
"location": {
|
1036
|
-
"filePath": "run-transformer.ts",
|
1037
|
-
"line": 5,
|
1038
|
-
"character": 11
|
1039
|
-
},
|
1040
|
-
"name": "WebpackConfigMutator",
|
1041
|
-
"componentId": {
|
1042
|
-
"scope": "teambit.webpack",
|
1043
|
-
"name": "modules/config-mutator",
|
1044
|
-
"version": "0.0.166"
|
1045
|
-
}
|
1046
|
-
},
|
1047
|
-
"isOptional": false,
|
1048
|
-
"isSpread": false
|
1049
|
-
},
|
1050
|
-
{
|
1051
|
-
"__schema": "ParameterSchema",
|
1052
|
-
"location": {
|
1053
|
-
"filePath": "run-transformer.ts",
|
1054
|
-
"line": 6,
|
1055
|
-
"character": 3
|
1056
|
-
},
|
1057
|
-
"name": "transformers",
|
1058
|
-
"type": {
|
1059
|
-
"__schema": "TypeRefSchema",
|
1060
|
-
"location": {
|
1061
|
-
"filePath": "run-transformer.ts",
|
1062
|
-
"line": 6,
|
1063
|
-
"character": 17
|
1064
|
-
},
|
1065
|
-
"name": "Array",
|
1066
|
-
"typeArgs": [
|
1067
|
-
{
|
1068
|
-
"__schema": "TypeUnionSchema",
|
1069
|
-
"location": {
|
1070
|
-
"filePath": "run-transformer.ts",
|
1071
|
-
"line": 6,
|
1072
|
-
"character": 23
|
1073
|
-
},
|
1074
|
-
"types": [
|
1075
|
-
{
|
1076
|
-
"__schema": "TypeRefSchema",
|
1077
|
-
"location": {
|
1078
|
-
"filePath": "run-transformer.ts",
|
1079
|
-
"line": 6,
|
1080
|
-
"character": 23
|
1081
|
-
},
|
1082
|
-
"name": "WebpackConfigTransformer"
|
1083
|
-
},
|
1084
|
-
{
|
1085
|
-
"__schema": "TypeRefSchema",
|
1086
|
-
"location": {
|
1087
|
-
"filePath": "run-transformer.ts",
|
1088
|
-
"line": 6,
|
1089
|
-
"character": 50
|
1090
|
-
},
|
1091
|
-
"name": "WebpackConfigDevServerTransformer"
|
1092
|
-
}
|
1093
|
-
]
|
1094
|
-
}
|
1095
|
-
]
|
1096
|
-
},
|
1097
|
-
"isOptional": true,
|
1098
|
-
"defaultValue": "[]",
|
1099
|
-
"isSpread": false
|
1100
|
-
},
|
1101
|
-
{
|
1102
|
-
"__schema": "ParameterSchema",
|
1103
|
-
"location": {
|
1104
|
-
"filePath": "run-transformer.ts",
|
1105
|
-
"line": 8,
|
1106
|
-
"character": 3
|
1107
|
-
},
|
1108
|
-
"name": "context",
|
1109
|
-
"type": {
|
1110
|
-
"__schema": "KeywordTypeSchema",
|
1111
|
-
"location": {
|
1112
|
-
"filePath": "run-transformer.ts",
|
1113
|
-
"line": 8,
|
1114
|
-
"character": 12
|
1115
|
-
},
|
1116
|
-
"name": "any"
|
1117
|
-
},
|
1118
|
-
"isOptional": false,
|
1119
|
-
"isSpread": false
|
1120
|
-
}
|
1121
|
-
],
|
1122
|
-
"returnType": {
|
1123
|
-
"__schema": "TypeRefSchema",
|
1124
|
-
"location": {
|
1125
|
-
"filePath": "run-transformer.ts",
|
1126
|
-
"line": 4,
|
1127
|
-
"character": 1
|
1128
|
-
},
|
1129
|
-
"name": "WebpackConfigMutator",
|
1130
|
-
"componentId": {
|
1131
|
-
"scope": "teambit.webpack",
|
1132
|
-
"name": "modules/config-mutator",
|
1133
|
-
"version": "0.0.166"
|
1134
|
-
}
|
1135
|
-
},
|
1136
|
-
"modifiers": [
|
1137
|
-
"export"
|
1138
|
-
]
|
1197
|
+
},
|
1198
|
+
"modifiers": [
|
1199
|
+
"export"
|
1200
|
+
]
|
1201
|
+
}
|
1139
1202
|
},
|
1140
1203
|
{
|
1141
|
-
"__schema": "
|
1204
|
+
"__schema": "ExportSchema",
|
1142
1205
|
"location": {
|
1143
|
-
"filePath": "
|
1144
|
-
"line":
|
1145
|
-
"character":
|
1206
|
+
"filePath": "index.ts",
|
1207
|
+
"line": 10,
|
1208
|
+
"character": 10
|
1146
1209
|
},
|
1147
|
-
"signature": "const WebpackAspect: Aspect",
|
1148
1210
|
"name": "WebpackAspect",
|
1149
|
-
"
|
1150
|
-
"__schema": "
|
1211
|
+
"exportNode": {
|
1212
|
+
"__schema": "VariableLikeSchema",
|
1151
1213
|
"location": {
|
1152
1214
|
"filePath": "webpack.aspect.ts",
|
1153
1215
|
"line": 3,
|
1154
1216
|
"character": 14
|
1155
1217
|
},
|
1156
|
-
"
|
1157
|
-
"
|
1158
|
-
|
1159
|
-
"
|
1160
|
-
"
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1218
|
+
"signature": "const WebpackAspect: Aspect",
|
1219
|
+
"name": "WebpackAspect",
|
1220
|
+
"type": {
|
1221
|
+
"__schema": "TypeRefSchema",
|
1222
|
+
"location": {
|
1223
|
+
"filePath": "webpack.aspect.ts",
|
1224
|
+
"line": 3,
|
1225
|
+
"character": 14
|
1226
|
+
},
|
1227
|
+
"name": "Aspect",
|
1228
|
+
"componentId": {
|
1229
|
+
"scope": "teambit.harmony",
|
1230
|
+
"name": "harmony",
|
1231
|
+
"version": "0.4.6"
|
1232
|
+
}
|
1233
|
+
},
|
1234
|
+
"isOptional": false,
|
1235
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.webpack/webpack',\n})"
|
1236
|
+
}
|
1165
1237
|
},
|
1166
1238
|
{
|
1167
|
-
"__schema": "
|
1239
|
+
"__schema": "ExportSchema",
|
1168
1240
|
"location": {
|
1169
|
-
"filePath": "
|
1170
|
-
"line":
|
1171
|
-
"character":
|
1241
|
+
"filePath": "index.ts",
|
1242
|
+
"line": 11,
|
1243
|
+
"character": 10
|
1172
1244
|
},
|
1173
|
-
"signature": "class WebpackDevServer",
|
1174
1245
|
"name": "WebpackDevServer",
|
1175
|
-
"
|
1176
|
-
|
1177
|
-
|
1178
|
-
"
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
"
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1246
|
+
"exportNode": {
|
1247
|
+
"__schema": "ClassSchema",
|
1248
|
+
"location": {
|
1249
|
+
"filePath": "webpack.dev-server.ts",
|
1250
|
+
"line": 14,
|
1251
|
+
"character": 1
|
1252
|
+
},
|
1253
|
+
"signature": "class WebpackDevServer",
|
1254
|
+
"name": "WebpackDevServer",
|
1255
|
+
"members": [
|
1256
|
+
{
|
1257
|
+
"__schema": "ConstructorSchema",
|
1258
|
+
"location": {
|
1259
|
+
"filePath": "webpack.dev-server.ts",
|
1260
|
+
"line": 16,
|
1261
|
+
"character": 3
|
1262
|
+
},
|
1263
|
+
"signature": "constructor WebpackDevServer(config: WebpackConfigWithDevServer, webpack: typeof webpackCompiler, webpackDevServer: string | typeof WDS): WebpackDevServer",
|
1264
|
+
"name": "constructor",
|
1265
|
+
"params": [
|
1266
|
+
{
|
1267
|
+
"__schema": "ParameterSchema",
|
1196
1268
|
"location": {
|
1197
1269
|
"filePath": "webpack.dev-server.ts",
|
1198
1270
|
"line": 17,
|
1199
|
-
"character":
|
1271
|
+
"character": 5
|
1200
1272
|
},
|
1201
|
-
"name": "
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
"
|
1273
|
+
"name": "config",
|
1274
|
+
"type": {
|
1275
|
+
"__schema": "TypeRefSchema",
|
1276
|
+
"location": {
|
1277
|
+
"filePath": "webpack.dev-server.ts",
|
1278
|
+
"line": 17,
|
1279
|
+
"character": 21
|
1280
|
+
},
|
1281
|
+
"name": "WebpackConfigWithDevServer"
|
1282
|
+
},
|
1283
|
+
"isOptional": false,
|
1284
|
+
"isSpread": false
|
1212
1285
|
},
|
1213
|
-
|
1214
|
-
|
1215
|
-
"__schema": "TypeQuerySchema",
|
1286
|
+
{
|
1287
|
+
"__schema": "ParameterSchema",
|
1216
1288
|
"location": {
|
1217
1289
|
"filePath": "webpack.dev-server.ts",
|
1218
1290
|
"line": 18,
|
1219
|
-
"character":
|
1291
|
+
"character": 5
|
1220
1292
|
},
|
1221
|
-
"
|
1293
|
+
"name": "webpack",
|
1222
1294
|
"type": {
|
1223
|
-
"__schema": "
|
1295
|
+
"__schema": "TypeQuerySchema",
|
1224
1296
|
"location": {
|
1225
1297
|
"filePath": "webpack.dev-server.ts",
|
1226
1298
|
"line": 18,
|
1227
|
-
"character":
|
1299
|
+
"character": 22
|
1228
1300
|
},
|
1229
|
-
"
|
1230
|
-
"type":
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
"
|
1301
|
+
"signature": "(alias) const webpackCompiler: {\n (options: Configuration, callback?: CallbackWebpack<Stats>): Compiler;\n (options: ReadonlyArray<Configuration> & MultiCompilerOptions, callback?: CallbackWebpack<MultiStats>): MultiCompiler;\n}\nimport webpackCompiler",
|
1302
|
+
"type": {
|
1303
|
+
"__schema": "InferenceTypeSchema",
|
1304
|
+
"location": {
|
1305
|
+
"filePath": "webpack.dev-server.ts",
|
1306
|
+
"line": 18,
|
1307
|
+
"character": 29
|
1308
|
+
},
|
1309
|
+
"name": "webpackCompiler",
|
1310
|
+
"type": "webpackCompiler:"
|
1311
|
+
}
|
1312
|
+
},
|
1313
|
+
"isOptional": false,
|
1314
|
+
"isSpread": false
|
1242
1315
|
},
|
1243
|
-
|
1244
|
-
|
1245
|
-
"__schema": "TypeUnionSchema",
|
1316
|
+
{
|
1317
|
+
"__schema": "ParameterSchema",
|
1246
1318
|
"location": {
|
1247
1319
|
"filePath": "webpack.dev-server.ts",
|
1248
1320
|
"line": 23,
|
1249
|
-
"character":
|
1321
|
+
"character": 5
|
1250
1322
|
},
|
1251
|
-
"
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
},
|
1259
|
-
"name": "string"
|
1323
|
+
"name": "webpackDevServer",
|
1324
|
+
"type": {
|
1325
|
+
"__schema": "TypeUnionSchema",
|
1326
|
+
"location": {
|
1327
|
+
"filePath": "webpack.dev-server.ts",
|
1328
|
+
"line": 23,
|
1329
|
+
"character": 31
|
1260
1330
|
},
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
"
|
1265
|
-
|
1266
|
-
|
1331
|
+
"types": [
|
1332
|
+
{
|
1333
|
+
"__schema": "KeywordTypeSchema",
|
1334
|
+
"location": {
|
1335
|
+
"filePath": "webpack.dev-server.ts",
|
1336
|
+
"line": 23,
|
1337
|
+
"character": 31
|
1338
|
+
},
|
1339
|
+
"name": "string"
|
1267
1340
|
},
|
1268
|
-
|
1269
|
-
|
1270
|
-
"__schema": "TypeRefSchema",
|
1341
|
+
{
|
1342
|
+
"__schema": "TypeQuerySchema",
|
1271
1343
|
"location": {
|
1272
1344
|
"filePath": "webpack.dev-server.ts",
|
1273
1345
|
"line": 23,
|
1274
|
-
"character":
|
1346
|
+
"character": 40
|
1275
1347
|
},
|
1276
|
-
"
|
1277
|
-
"
|
1348
|
+
"signature": "(alias) class WDS\n(alias) namespace WDS\nimport WDS",
|
1349
|
+
"type": {
|
1350
|
+
"__schema": "TypeRefSchema",
|
1351
|
+
"location": {
|
1352
|
+
"filePath": "webpack.dev-server.ts",
|
1353
|
+
"line": 23,
|
1354
|
+
"character": 47
|
1355
|
+
},
|
1356
|
+
"name": "WDS",
|
1357
|
+
"packageName": "'webpack-dev-server'"
|
1358
|
+
}
|
1278
1359
|
}
|
1279
|
-
|
1280
|
-
|
1360
|
+
]
|
1361
|
+
},
|
1362
|
+
"isOptional": false,
|
1363
|
+
"isSpread": false
|
1364
|
+
}
|
1365
|
+
],
|
1366
|
+
"returnType": {
|
1367
|
+
"__schema": "ThisTypeSchema",
|
1368
|
+
"location": {
|
1369
|
+
"filePath": "webpack.dev-server.ts",
|
1370
|
+
"line": 14,
|
1371
|
+
"character": 1
|
1281
1372
|
},
|
1282
|
-
"
|
1283
|
-
"isSpread": false
|
1284
|
-
}
|
1285
|
-
],
|
1286
|
-
"returnType": {
|
1287
|
-
"__schema": "ThisTypeSchema",
|
1288
|
-
"location": {
|
1289
|
-
"filePath": "webpack.dev-server.ts",
|
1290
|
-
"line": 14,
|
1291
|
-
"character": 1
|
1373
|
+
"name": "WebpackDevServer"
|
1292
1374
|
},
|
1293
|
-
"
|
1294
|
-
},
|
1295
|
-
"modifiers": []
|
1296
|
-
},
|
1297
|
-
{
|
1298
|
-
"__schema": "VariableLikeSchema",
|
1299
|
-
"location": {
|
1300
|
-
"filePath": "webpack.dev-server.ts",
|
1301
|
-
"line": 37,
|
1302
|
-
"character": 3
|
1375
|
+
"modifiers": []
|
1303
1376
|
},
|
1304
|
-
|
1305
|
-
|
1306
|
-
"type": {
|
1307
|
-
"__schema": "InferenceTypeSchema",
|
1377
|
+
{
|
1378
|
+
"__schema": "VariableLikeSchema",
|
1308
1379
|
"location": {
|
1309
1380
|
"filePath": "webpack.dev-server.ts",
|
1310
1381
|
"line": 37,
|
1311
1382
|
"character": 3
|
1312
1383
|
},
|
1313
|
-
"
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1384
|
+
"signature": "(property) WebpackDevServer.id: string",
|
1385
|
+
"name": "id",
|
1386
|
+
"type": {
|
1387
|
+
"__schema": "InferenceTypeSchema",
|
1388
|
+
"location": {
|
1389
|
+
"filePath": "webpack.dev-server.ts",
|
1390
|
+
"line": 37,
|
1391
|
+
"character": 3
|
1392
|
+
},
|
1393
|
+
"type": "string"
|
1394
|
+
},
|
1395
|
+
"isOptional": true,
|
1396
|
+
"defaultValue": "WebpackAspect.id"
|
1324
1397
|
},
|
1325
|
-
|
1326
|
-
|
1327
|
-
"type": {
|
1328
|
-
"__schema": "InferenceTypeSchema",
|
1398
|
+
{
|
1399
|
+
"__schema": "VariableLikeSchema",
|
1329
1400
|
"location": {
|
1330
1401
|
"filePath": "webpack.dev-server.ts",
|
1331
1402
|
"line": 39,
|
1332
1403
|
"character": 3
|
1333
1404
|
},
|
1334
|
-
"
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1405
|
+
"signature": "(property) WebpackDevServer.displayName: string",
|
1406
|
+
"name": "displayName",
|
1407
|
+
"type": {
|
1408
|
+
"__schema": "InferenceTypeSchema",
|
1409
|
+
"location": {
|
1410
|
+
"filePath": "webpack.dev-server.ts",
|
1411
|
+
"line": 39,
|
1412
|
+
"character": 3
|
1413
|
+
},
|
1414
|
+
"type": "string"
|
1415
|
+
},
|
1416
|
+
"isOptional": true,
|
1417
|
+
"defaultValue": "'Webpack dev server'"
|
1345
1418
|
},
|
1346
|
-
|
1347
|
-
|
1348
|
-
"params": [],
|
1349
|
-
"returnType": {
|
1350
|
-
"__schema": "KeywordTypeSchema",
|
1419
|
+
{
|
1420
|
+
"__schema": "FunctionLikeSchema",
|
1351
1421
|
"location": {
|
1352
1422
|
"filePath": "webpack.dev-server.ts",
|
1353
1423
|
"line": 41,
|
1354
|
-
"character":
|
1424
|
+
"character": 3
|
1355
1425
|
},
|
1356
|
-
"
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1426
|
+
"signature": "(method) WebpackDevServer.version(): string",
|
1427
|
+
"name": "version",
|
1428
|
+
"params": [],
|
1429
|
+
"returnType": {
|
1430
|
+
"__schema": "KeywordTypeSchema",
|
1431
|
+
"location": {
|
1432
|
+
"filePath": "webpack.dev-server.ts",
|
1433
|
+
"line": 41,
|
1434
|
+
"character": 14
|
1435
|
+
},
|
1436
|
+
"name": "string"
|
1437
|
+
},
|
1438
|
+
"modifiers": []
|
1366
1439
|
},
|
1367
|
-
|
1368
|
-
|
1369
|
-
"params": [],
|
1370
|
-
"returnType": {
|
1371
|
-
"__schema": "KeywordTypeSchema",
|
1440
|
+
{
|
1441
|
+
"__schema": "FunctionLikeSchema",
|
1372
1442
|
"location": {
|
1373
1443
|
"filePath": "webpack.dev-server.ts",
|
1374
1444
|
"line": 57,
|
1375
|
-
"character":
|
1445
|
+
"character": 3
|
1376
1446
|
},
|
1377
|
-
"
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
"__schema": "FunctionLikeSchema",
|
1383
|
-
"location": {
|
1384
|
-
"filePath": "webpack.dev-server.ts",
|
1385
|
-
"line": 61,
|
1386
|
-
"character": 3
|
1387
|
-
},
|
1388
|
-
"signature": "(method) WebpackDevServer.listen(port: number): Promise<Server>",
|
1389
|
-
"name": "listen",
|
1390
|
-
"params": [
|
1391
|
-
{
|
1392
|
-
"__schema": "ParameterSchema",
|
1447
|
+
"signature": "(method) WebpackDevServer.displayConfig(): string",
|
1448
|
+
"name": "displayConfig",
|
1449
|
+
"params": [],
|
1450
|
+
"returnType": {
|
1451
|
+
"__schema": "KeywordTypeSchema",
|
1393
1452
|
"location": {
|
1394
1453
|
"filePath": "webpack.dev-server.ts",
|
1395
|
-
"line":
|
1396
|
-
"character":
|
1397
|
-
},
|
1398
|
-
"name": "port",
|
1399
|
-
"type": {
|
1400
|
-
"__schema": "KeywordTypeSchema",
|
1401
|
-
"location": {
|
1402
|
-
"filePath": "webpack.dev-server.ts",
|
1403
|
-
"line": 61,
|
1404
|
-
"character": 22
|
1405
|
-
},
|
1406
|
-
"name": "number"
|
1454
|
+
"line": 57,
|
1455
|
+
"character": 20
|
1407
1456
|
},
|
1408
|
-
"
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
"__schema": "
|
1457
|
+
"name": "string"
|
1458
|
+
},
|
1459
|
+
"modifiers": []
|
1460
|
+
},
|
1461
|
+
{
|
1462
|
+
"__schema": "FunctionLikeSchema",
|
1414
1463
|
"location": {
|
1415
1464
|
"filePath": "webpack.dev-server.ts",
|
1416
1465
|
"line": 61,
|
1417
|
-
"character":
|
1466
|
+
"character": 3
|
1418
1467
|
},
|
1419
|
-
"
|
1420
|
-
"
|
1468
|
+
"signature": "(method) WebpackDevServer.listen(port: number): Promise<Server>",
|
1469
|
+
"name": "listen",
|
1470
|
+
"params": [
|
1421
1471
|
{
|
1422
|
-
"__schema": "
|
1472
|
+
"__schema": "ParameterSchema",
|
1423
1473
|
"location": {
|
1424
1474
|
"filePath": "webpack.dev-server.ts",
|
1425
1475
|
"line": 61,
|
1426
|
-
"character":
|
1476
|
+
"character": 16
|
1477
|
+
},
|
1478
|
+
"name": "port",
|
1479
|
+
"type": {
|
1480
|
+
"__schema": "KeywordTypeSchema",
|
1481
|
+
"location": {
|
1482
|
+
"filePath": "webpack.dev-server.ts",
|
1483
|
+
"line": 61,
|
1484
|
+
"character": 22
|
1485
|
+
},
|
1486
|
+
"name": "number"
|
1427
1487
|
},
|
1428
|
-
"
|
1429
|
-
"
|
1488
|
+
"isOptional": false,
|
1489
|
+
"isSpread": false
|
1430
1490
|
}
|
1491
|
+
],
|
1492
|
+
"returnType": {
|
1493
|
+
"__schema": "TypeRefSchema",
|
1494
|
+
"location": {
|
1495
|
+
"filePath": "webpack.dev-server.ts",
|
1496
|
+
"line": 61,
|
1497
|
+
"character": 31
|
1498
|
+
},
|
1499
|
+
"name": "Promise",
|
1500
|
+
"typeArgs": [
|
1501
|
+
{
|
1502
|
+
"__schema": "TypeRefSchema",
|
1503
|
+
"location": {
|
1504
|
+
"filePath": "webpack.dev-server.ts",
|
1505
|
+
"line": 61,
|
1506
|
+
"character": 39
|
1507
|
+
},
|
1508
|
+
"name": "Server",
|
1509
|
+
"packageName": "http"
|
1510
|
+
}
|
1511
|
+
]
|
1512
|
+
},
|
1513
|
+
"modifiers": [
|
1514
|
+
"async"
|
1431
1515
|
]
|
1432
|
-
}
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
"extendsNodes": [],
|
1439
|
-
"implementNodes": [
|
1440
|
-
{
|
1441
|
-
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1442
|
-
"location": {
|
1443
|
-
"filePath": "webpack.dev-server.ts",
|
1444
|
-
"line": 14,
|
1445
|
-
"character": 42
|
1446
|
-
},
|
1447
|
-
"name": "implements DevServer",
|
1448
|
-
"typeArgs": [],
|
1449
|
-
"expression": {
|
1450
|
-
"__schema": "TypeRefSchema",
|
1516
|
+
}
|
1517
|
+
],
|
1518
|
+
"extendsNodes": [],
|
1519
|
+
"implementNodes": [
|
1520
|
+
{
|
1521
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1451
1522
|
"location": {
|
1452
1523
|
"filePath": "webpack.dev-server.ts",
|
1453
1524
|
"line": 14,
|
1454
1525
|
"character": 42
|
1455
1526
|
},
|
1456
|
-
"name": "DevServer",
|
1457
|
-
"
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
"
|
1527
|
+
"name": "implements DevServer",
|
1528
|
+
"typeArgs": [],
|
1529
|
+
"expression": {
|
1530
|
+
"__schema": "TypeRefSchema",
|
1531
|
+
"location": {
|
1532
|
+
"filePath": "webpack.dev-server.ts",
|
1533
|
+
"line": 14,
|
1534
|
+
"character": 42
|
1462
1535
|
},
|
1463
|
-
"
|
1536
|
+
"name": "DevServer",
|
1537
|
+
"componentId": {
|
1538
|
+
"_legacy": {
|
1539
|
+
"scope": "teambit.webpack",
|
1540
|
+
"name": "webpack",
|
1541
|
+
"version": "1.0.259"
|
1542
|
+
},
|
1543
|
+
"_scope": "teambit.webpack"
|
1544
|
+
}
|
1464
1545
|
}
|
1465
1546
|
}
|
1466
|
-
|
1467
|
-
|
1547
|
+
]
|
1548
|
+
}
|
1468
1549
|
},
|
1469
1550
|
{
|
1470
|
-
"__schema": "
|
1551
|
+
"__schema": "ExportSchema",
|
1471
1552
|
"location": {
|
1472
|
-
"filePath": "
|
1473
|
-
"line":
|
1474
|
-
"character":
|
1553
|
+
"filePath": "index.ts",
|
1554
|
+
"line": 12,
|
1555
|
+
"character": 10
|
1475
1556
|
},
|
1476
|
-
"signature": "class WebpackBundler",
|
1477
1557
|
"name": "WebpackBundler",
|
1478
|
-
"
|
1479
|
-
|
1480
|
-
|
1481
|
-
"
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
"
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1558
|
+
"exportNode": {
|
1559
|
+
"__schema": "ClassSchema",
|
1560
|
+
"location": {
|
1561
|
+
"filePath": "webpack.bundler.ts",
|
1562
|
+
"line": 10,
|
1563
|
+
"character": 1
|
1564
|
+
},
|
1565
|
+
"signature": "class WebpackBundler",
|
1566
|
+
"name": "WebpackBundler",
|
1567
|
+
"members": [
|
1568
|
+
{
|
1569
|
+
"__schema": "ConstructorSchema",
|
1570
|
+
"location": {
|
1571
|
+
"filePath": "webpack.bundler.ts",
|
1572
|
+
"line": 11,
|
1573
|
+
"character": 3
|
1574
|
+
},
|
1575
|
+
"signature": "constructor WebpackBundler(targets: Target[], configs: Configuration[], logger: Logger, webpack: any, metaData?: BundlerContextMetaData | undefined): WebpackBundler",
|
1576
|
+
"name": "constructor",
|
1577
|
+
"params": [
|
1578
|
+
{
|
1579
|
+
"__schema": "ParameterSchema",
|
1499
1580
|
"location": {
|
1500
1581
|
"filePath": "webpack.bundler.ts",
|
1501
1582
|
"line": 15,
|
1502
|
-
"character":
|
1583
|
+
"character": 5
|
1503
1584
|
},
|
1585
|
+
"name": "targets",
|
1504
1586
|
"type": {
|
1505
|
-
"__schema": "
|
1587
|
+
"__schema": "TypeArraySchema",
|
1506
1588
|
"location": {
|
1507
1589
|
"filePath": "webpack.bundler.ts",
|
1508
1590
|
"line": 15,
|
1509
1591
|
"character": 22
|
1510
1592
|
},
|
1511
|
-
"
|
1512
|
-
|
1513
|
-
"
|
1514
|
-
|
1593
|
+
"type": {
|
1594
|
+
"__schema": "TypeRefSchema",
|
1595
|
+
"location": {
|
1596
|
+
"filePath": "webpack.bundler.ts",
|
1597
|
+
"line": 15,
|
1598
|
+
"character": 22
|
1599
|
+
},
|
1600
|
+
"name": "Target",
|
1601
|
+
"componentId": {
|
1602
|
+
"scope": "teambit.compilation",
|
1603
|
+
"name": "bundler"
|
1604
|
+
}
|
1515
1605
|
}
|
1516
|
-
}
|
1517
|
-
|
1518
|
-
|
1519
|
-
"isSpread": false
|
1520
|
-
},
|
1521
|
-
{
|
1522
|
-
"__schema": "ParameterSchema",
|
1523
|
-
"location": {
|
1524
|
-
"filePath": "webpack.bundler.ts",
|
1525
|
-
"line": 20,
|
1526
|
-
"character": 5
|
1606
|
+
},
|
1607
|
+
"isOptional": false,
|
1608
|
+
"isSpread": false
|
1527
1609
|
},
|
1528
|
-
|
1529
|
-
|
1530
|
-
"__schema": "TypeArraySchema",
|
1610
|
+
{
|
1611
|
+
"__schema": "ParameterSchema",
|
1531
1612
|
"location": {
|
1532
1613
|
"filePath": "webpack.bundler.ts",
|
1533
1614
|
"line": 20,
|
1534
|
-
"character":
|
1615
|
+
"character": 5
|
1535
1616
|
},
|
1617
|
+
"name": "configs",
|
1536
1618
|
"type": {
|
1537
|
-
"__schema": "
|
1619
|
+
"__schema": "TypeArraySchema",
|
1538
1620
|
"location": {
|
1539
1621
|
"filePath": "webpack.bundler.ts",
|
1540
1622
|
"line": 20,
|
1541
1623
|
"character": 22
|
1542
1624
|
},
|
1543
|
-
"
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
"
|
1555
|
-
"
|
1625
|
+
"type": {
|
1626
|
+
"__schema": "TypeRefSchema",
|
1627
|
+
"location": {
|
1628
|
+
"filePath": "webpack.bundler.ts",
|
1629
|
+
"line": 20,
|
1630
|
+
"character": 22
|
1631
|
+
},
|
1632
|
+
"name": "Configuration",
|
1633
|
+
"packageName": "webpack"
|
1634
|
+
}
|
1635
|
+
},
|
1636
|
+
"isOptional": false,
|
1637
|
+
"isSpread": false
|
1556
1638
|
},
|
1557
|
-
|
1558
|
-
|
1559
|
-
"__schema": "TypeRefSchema",
|
1639
|
+
{
|
1640
|
+
"__schema": "ParameterSchema",
|
1560
1641
|
"location": {
|
1561
1642
|
"filePath": "webpack.bundler.ts",
|
1562
1643
|
"line": 22,
|
1563
|
-
"character":
|
1644
|
+
"character": 5
|
1564
1645
|
},
|
1565
|
-
"name": "
|
1566
|
-
"
|
1567
|
-
"
|
1568
|
-
"
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
"
|
1646
|
+
"name": "logger",
|
1647
|
+
"type": {
|
1648
|
+
"__schema": "TypeRefSchema",
|
1649
|
+
"location": {
|
1650
|
+
"filePath": "webpack.bundler.ts",
|
1651
|
+
"line": 22,
|
1652
|
+
"character": 21
|
1653
|
+
},
|
1654
|
+
"name": "Logger",
|
1655
|
+
"componentId": {
|
1656
|
+
"scope": "teambit.harmony",
|
1657
|
+
"name": "logger"
|
1658
|
+
}
|
1659
|
+
},
|
1660
|
+
"isOptional": false,
|
1661
|
+
"isSpread": false
|
1580
1662
|
},
|
1581
|
-
|
1582
|
-
|
1583
|
-
"__schema": "InferenceTypeSchema",
|
1663
|
+
{
|
1664
|
+
"__schema": "ParameterSchema",
|
1584
1665
|
"location": {
|
1585
1666
|
"filePath": "webpack.bundler.ts",
|
1586
1667
|
"line": 24,
|
1587
1668
|
"character": 5
|
1588
1669
|
},
|
1589
|
-
"
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
"
|
1670
|
+
"name": "webpack",
|
1671
|
+
"type": {
|
1672
|
+
"__schema": "InferenceTypeSchema",
|
1673
|
+
"location": {
|
1674
|
+
"filePath": "webpack.bundler.ts",
|
1675
|
+
"line": 24,
|
1676
|
+
"character": 5
|
1677
|
+
},
|
1678
|
+
"type": "any"
|
1679
|
+
},
|
1680
|
+
"isOptional": false,
|
1681
|
+
"isSpread": false
|
1600
1682
|
},
|
1601
|
-
|
1602
|
-
|
1603
|
-
"__schema": "TypeUnionSchema",
|
1683
|
+
{
|
1684
|
+
"__schema": "ParameterSchema",
|
1604
1685
|
"location": {
|
1605
1686
|
"filePath": "webpack.bundler.ts",
|
1606
1687
|
"line": 26,
|
1607
|
-
"character":
|
1688
|
+
"character": 5
|
1608
1689
|
},
|
1609
|
-
"
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
},
|
1617
|
-
"name": "BundlerContextMetaData",
|
1618
|
-
"componentId": {
|
1619
|
-
"scope": "teambit.compilation",
|
1620
|
-
"name": "bundler"
|
1621
|
-
}
|
1690
|
+
"name": "metaData",
|
1691
|
+
"type": {
|
1692
|
+
"__schema": "TypeUnionSchema",
|
1693
|
+
"location": {
|
1694
|
+
"filePath": "webpack.bundler.ts",
|
1695
|
+
"line": 26,
|
1696
|
+
"character": 24
|
1622
1697
|
},
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
"
|
1627
|
-
|
1628
|
-
|
1698
|
+
"types": [
|
1699
|
+
{
|
1700
|
+
"__schema": "TypeRefSchema",
|
1701
|
+
"location": {
|
1702
|
+
"filePath": "webpack.bundler.ts",
|
1703
|
+
"line": 26,
|
1704
|
+
"character": 24
|
1705
|
+
},
|
1706
|
+
"name": "BundlerContextMetaData",
|
1707
|
+
"componentId": {
|
1708
|
+
"scope": "teambit.compilation",
|
1709
|
+
"name": "bundler"
|
1710
|
+
}
|
1629
1711
|
},
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1712
|
+
{
|
1713
|
+
"__schema": "KeywordTypeSchema",
|
1714
|
+
"location": {
|
1715
|
+
"filePath": "webpack.bundler.ts",
|
1716
|
+
"line": 26,
|
1717
|
+
"character": 49
|
1718
|
+
},
|
1719
|
+
"name": "undefined"
|
1720
|
+
}
|
1721
|
+
]
|
1722
|
+
},
|
1723
|
+
"isOptional": true,
|
1724
|
+
"isSpread": false
|
1725
|
+
}
|
1726
|
+
],
|
1727
|
+
"returnType": {
|
1728
|
+
"__schema": "ThisTypeSchema",
|
1729
|
+
"location": {
|
1730
|
+
"filePath": "webpack.bundler.ts",
|
1731
|
+
"line": 10,
|
1732
|
+
"character": 1
|
1633
1733
|
},
|
1634
|
-
"
|
1635
|
-
"isSpread": false
|
1636
|
-
}
|
1637
|
-
],
|
1638
|
-
"returnType": {
|
1639
|
-
"__schema": "ThisTypeSchema",
|
1640
|
-
"location": {
|
1641
|
-
"filePath": "webpack.bundler.ts",
|
1642
|
-
"line": 10,
|
1643
|
-
"character": 1
|
1734
|
+
"name": "WebpackBundler"
|
1644
1735
|
},
|
1645
|
-
"
|
1646
|
-
},
|
1647
|
-
"modifiers": []
|
1648
|
-
},
|
1649
|
-
{
|
1650
|
-
"__schema": "FunctionLikeSchema",
|
1651
|
-
"location": {
|
1652
|
-
"filePath": "webpack.bundler.ts",
|
1653
|
-
"line": 29,
|
1654
|
-
"character": 3
|
1736
|
+
"modifiers": []
|
1655
1737
|
},
|
1656
|
-
|
1657
|
-
|
1658
|
-
"params": [],
|
1659
|
-
"returnType": {
|
1660
|
-
"__schema": "TypeRefSchema",
|
1738
|
+
{
|
1739
|
+
"__schema": "FunctionLikeSchema",
|
1661
1740
|
"location": {
|
1662
1741
|
"filePath": "webpack.bundler.ts",
|
1663
1742
|
"line": 29,
|
1664
|
-
"character":
|
1743
|
+
"character": 3
|
1665
1744
|
},
|
1666
|
-
"
|
1667
|
-
"
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1745
|
+
"signature": "(method) WebpackBundler.run(): Promise<BundlerResult[]>",
|
1746
|
+
"name": "run",
|
1747
|
+
"params": [],
|
1748
|
+
"returnType": {
|
1749
|
+
"__schema": "TypeRefSchema",
|
1750
|
+
"location": {
|
1751
|
+
"filePath": "webpack.bundler.ts",
|
1752
|
+
"line": 29,
|
1753
|
+
"character": 16
|
1754
|
+
},
|
1755
|
+
"name": "Promise",
|
1756
|
+
"typeArgs": [
|
1757
|
+
{
|
1758
|
+
"__schema": "TypeArraySchema",
|
1677
1759
|
"location": {
|
1678
1760
|
"filePath": "webpack.bundler.ts",
|
1679
1761
|
"line": 29,
|
1680
1762
|
"character": 24
|
1681
1763
|
},
|
1682
|
-
"
|
1683
|
-
|
1684
|
-
"
|
1685
|
-
|
1764
|
+
"type": {
|
1765
|
+
"__schema": "TypeRefSchema",
|
1766
|
+
"location": {
|
1767
|
+
"filePath": "webpack.bundler.ts",
|
1768
|
+
"line": 29,
|
1769
|
+
"character": 24
|
1770
|
+
},
|
1771
|
+
"name": "BundlerResult",
|
1772
|
+
"componentId": {
|
1773
|
+
"scope": "teambit.compilation",
|
1774
|
+
"name": "bundler"
|
1775
|
+
}
|
1686
1776
|
}
|
1687
1777
|
}
|
1688
|
-
|
1778
|
+
]
|
1779
|
+
},
|
1780
|
+
"modifiers": [
|
1781
|
+
"async"
|
1689
1782
|
]
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1696
|
-
"extendsNodes": [],
|
1697
|
-
"implementNodes": [
|
1698
|
-
{
|
1699
|
-
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1700
|
-
"location": {
|
1701
|
-
"filePath": "webpack.bundler.ts",
|
1702
|
-
"line": 10,
|
1703
|
-
"character": 40
|
1704
|
-
},
|
1705
|
-
"name": "implements Bundler",
|
1706
|
-
"typeArgs": [],
|
1707
|
-
"expression": {
|
1708
|
-
"__schema": "TypeRefSchema",
|
1783
|
+
}
|
1784
|
+
],
|
1785
|
+
"extendsNodes": [],
|
1786
|
+
"implementNodes": [
|
1787
|
+
{
|
1788
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1709
1789
|
"location": {
|
1710
1790
|
"filePath": "webpack.bundler.ts",
|
1711
1791
|
"line": 10,
|
1712
1792
|
"character": 40
|
1713
1793
|
},
|
1714
|
-
"name": "Bundler",
|
1715
|
-
"
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
"
|
1794
|
+
"name": "implements Bundler",
|
1795
|
+
"typeArgs": [],
|
1796
|
+
"expression": {
|
1797
|
+
"__schema": "TypeRefSchema",
|
1798
|
+
"location": {
|
1799
|
+
"filePath": "webpack.bundler.ts",
|
1800
|
+
"line": 10,
|
1801
|
+
"character": 40
|
1720
1802
|
},
|
1721
|
-
"
|
1803
|
+
"name": "Bundler",
|
1804
|
+
"componentId": {
|
1805
|
+
"_legacy": {
|
1806
|
+
"scope": "teambit.webpack",
|
1807
|
+
"name": "webpack",
|
1808
|
+
"version": "1.0.259"
|
1809
|
+
},
|
1810
|
+
"_scope": "teambit.webpack"
|
1811
|
+
}
|
1722
1812
|
}
|
1723
1813
|
}
|
1724
|
-
|
1725
|
-
|
1814
|
+
]
|
1815
|
+
}
|
1726
1816
|
},
|
1727
1817
|
{
|
1728
|
-
"__schema": "
|
1818
|
+
"__schema": "ExportSchema",
|
1729
1819
|
"location": {
|
1730
|
-
"filePath": "
|
1731
|
-
"line":
|
1732
|
-
"character":
|
1820
|
+
"filePath": "index.ts",
|
1821
|
+
"line": 13,
|
1822
|
+
"character": 15
|
1733
1823
|
},
|
1734
|
-
"signature": "interface WebpackConfigWithDevServer",
|
1735
1824
|
"name": "WebpackConfigWithDevServer",
|
1736
|
-
"
|
1737
|
-
|
1738
|
-
|
1739
|
-
"
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
"__schema": "
|
1825
|
+
"exportNode": {
|
1826
|
+
"__schema": "InterfaceSchema",
|
1827
|
+
"location": {
|
1828
|
+
"filePath": "webpack.dev-server.ts",
|
1829
|
+
"line": 10,
|
1830
|
+
"character": 1
|
1831
|
+
},
|
1832
|
+
"signature": "interface WebpackConfigWithDevServer",
|
1833
|
+
"name": "WebpackConfigWithDevServer",
|
1834
|
+
"members": [
|
1835
|
+
{
|
1836
|
+
"__schema": "VariableLikeSchema",
|
1748
1837
|
"location": {
|
1749
1838
|
"filePath": "webpack.dev-server.ts",
|
1750
1839
|
"line": 11,
|
1751
|
-
"character":
|
1840
|
+
"character": 3
|
1841
|
+
},
|
1842
|
+
"signature": "(property) WebpackConfigWithDevServer.devServer: WDS.Configuration",
|
1843
|
+
"name": "devServer",
|
1844
|
+
"type": {
|
1845
|
+
"__schema": "TypeRefSchema",
|
1846
|
+
"location": {
|
1847
|
+
"filePath": "webpack.dev-server.ts",
|
1848
|
+
"line": 11,
|
1849
|
+
"character": 14
|
1850
|
+
},
|
1851
|
+
"name": "WDS.Configuration"
|
1752
1852
|
},
|
1753
|
-
"
|
1754
|
-
},
|
1755
|
-
"isOptional": false
|
1756
|
-
},
|
1757
|
-
{
|
1758
|
-
"__schema": "VariableLikeSchema",
|
1759
|
-
"location": {
|
1760
|
-
"filePath": "webpack.dev-server.ts",
|
1761
|
-
"line": 12,
|
1762
|
-
"character": 3
|
1853
|
+
"isOptional": false
|
1763
1854
|
},
|
1764
|
-
|
1765
|
-
|
1766
|
-
"type": {
|
1767
|
-
"__schema": "KeywordTypeSchema",
|
1855
|
+
{
|
1856
|
+
"__schema": "VariableLikeSchema",
|
1768
1857
|
"location": {
|
1769
1858
|
"filePath": "webpack.dev-server.ts",
|
1770
1859
|
"line": 12,
|
1771
|
-
"character":
|
1860
|
+
"character": 3
|
1772
1861
|
},
|
1773
|
-
"
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
"
|
1785
|
-
}
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
"__schema": "
|
1862
|
+
"signature": "(property) WebpackConfigWithDevServer.favicon?: string | undefined",
|
1863
|
+
"name": "favicon",
|
1864
|
+
"type": {
|
1865
|
+
"__schema": "KeywordTypeSchema",
|
1866
|
+
"location": {
|
1867
|
+
"filePath": "webpack.dev-server.ts",
|
1868
|
+
"line": 12,
|
1869
|
+
"character": 13
|
1870
|
+
},
|
1871
|
+
"name": "string"
|
1872
|
+
},
|
1873
|
+
"isOptional": true
|
1874
|
+
}
|
1875
|
+
],
|
1876
|
+
"extendsNodes": [
|
1877
|
+
{
|
1878
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1790
1879
|
"location": {
|
1791
1880
|
"filePath": "webpack.dev-server.ts",
|
1792
1881
|
"line": 10,
|
1793
1882
|
"character": 53
|
1794
1883
|
},
|
1795
|
-
"name": "Configuration",
|
1796
|
-
"
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
"
|
1884
|
+
"name": "extends Configuration",
|
1885
|
+
"typeArgs": [],
|
1886
|
+
"expression": {
|
1887
|
+
"__schema": "TypeRefSchema",
|
1888
|
+
"location": {
|
1889
|
+
"filePath": "webpack.dev-server.ts",
|
1890
|
+
"line": 10,
|
1891
|
+
"character": 53
|
1801
1892
|
},
|
1802
|
-
"
|
1893
|
+
"name": "Configuration",
|
1894
|
+
"componentId": {
|
1895
|
+
"_legacy": {
|
1896
|
+
"scope": "teambit.webpack",
|
1897
|
+
"name": "webpack",
|
1898
|
+
"version": "1.0.259"
|
1899
|
+
},
|
1900
|
+
"_scope": "teambit.webpack"
|
1901
|
+
}
|
1803
1902
|
}
|
1804
1903
|
}
|
1805
|
-
|
1806
|
-
|
1904
|
+
]
|
1905
|
+
}
|
1807
1906
|
},
|
1808
1907
|
{
|
1809
1908
|
"__schema": "ClassSchema",
|
@@ -1953,7 +2052,7 @@
|
|
1953
2052
|
"_legacy": {
|
1954
2053
|
"scope": "teambit.webpack",
|
1955
2054
|
"name": "webpack",
|
1956
|
-
"version": "1.0.
|
2055
|
+
"version": "1.0.259"
|
1957
2056
|
},
|
1958
2057
|
"_scope": "teambit.webpack"
|
1959
2058
|
}
|
@@ -2090,7 +2189,7 @@
|
|
2090
2189
|
"_legacy": {
|
2091
2190
|
"scope": "teambit.webpack",
|
2092
2191
|
"name": "webpack",
|
2093
|
-
"version": "1.0.
|
2192
|
+
"version": "1.0.259"
|
2094
2193
|
},
|
2095
2194
|
"_scope": "teambit.webpack"
|
2096
2195
|
}
|
@@ -2100,856 +2199,973 @@
|
|
2100
2199
|
"implementNodes": []
|
2101
2200
|
},
|
2102
2201
|
{
|
2103
|
-
"__schema": "
|
2202
|
+
"__schema": "ExportSchema",
|
2104
2203
|
"location": {
|
2105
2204
|
"filePath": "index.ts",
|
2106
2205
|
"line": 15,
|
2107
2206
|
"character": 15
|
2108
2207
|
},
|
2109
2208
|
"name": "Configuration",
|
2110
|
-
"
|
2209
|
+
"exportNode": {
|
2210
|
+
"__schema": "TypeRefSchema",
|
2211
|
+
"location": {
|
2212
|
+
"filePath": "index.ts",
|
2213
|
+
"line": 15,
|
2214
|
+
"character": 15
|
2215
|
+
},
|
2216
|
+
"name": "Configuration",
|
2217
|
+
"packageName": "webpack"
|
2218
|
+
}
|
2111
2219
|
},
|
2112
2220
|
{
|
2113
|
-
"__schema": "
|
2221
|
+
"__schema": "ExportSchema",
|
2114
2222
|
"location": {
|
2115
2223
|
"filePath": "index.ts",
|
2116
2224
|
"line": 16,
|
2117
2225
|
"character": 10
|
2118
2226
|
},
|
2119
2227
|
"name": "WebpackConfigMutator",
|
2120
|
-
"
|
2121
|
-
"
|
2122
|
-
"
|
2123
|
-
|
2228
|
+
"exportNode": {
|
2229
|
+
"__schema": "TypeRefSchema",
|
2230
|
+
"location": {
|
2231
|
+
"filePath": "index.ts",
|
2232
|
+
"line": 16,
|
2233
|
+
"character": 10
|
2234
|
+
},
|
2235
|
+
"name": "WebpackConfigMutator",
|
2236
|
+
"componentId": {
|
2237
|
+
"scope": "teambit.webpack",
|
2238
|
+
"name": "modules/config-mutator",
|
2239
|
+
"version": "0.0.166"
|
2240
|
+
}
|
2124
2241
|
}
|
2125
2242
|
},
|
2126
2243
|
{
|
2127
|
-
"__schema": "
|
2244
|
+
"__schema": "ExportSchema",
|
2128
2245
|
"location": {
|
2129
|
-
"filePath": "
|
2130
|
-
"line":
|
2131
|
-
"character":
|
2246
|
+
"filePath": "index.ts",
|
2247
|
+
"line": 17,
|
2248
|
+
"character": 10
|
2132
2249
|
},
|
2133
|
-
"
|
2134
|
-
|
2250
|
+
"name": "WebpackBitReporterPlugin",
|
2251
|
+
"exportNode": {
|
2252
|
+
"__schema": "ClassSchema",
|
2135
2253
|
"location": {
|
2136
2254
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2137
|
-
"line":
|
2255
|
+
"line": 10,
|
2138
2256
|
"character": 1
|
2139
2257
|
},
|
2140
|
-
"
|
2141
|
-
|
2142
|
-
},
|
2143
|
-
"signature": "class WebpackBitReporterPlugin",
|
2144
|
-
"name": "WebpackBitReporterPlugin",
|
2145
|
-
"members": [
|
2146
|
-
{
|
2147
|
-
"__schema": "VariableLikeSchema",
|
2258
|
+
"doc": {
|
2259
|
+
"__schema": "DocSchema",
|
2148
2260
|
"location": {
|
2149
2261
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2150
|
-
"line":
|
2151
|
-
"character":
|
2262
|
+
"line": 7,
|
2263
|
+
"character": 1
|
2152
2264
|
},
|
2153
|
-
"
|
2154
|
-
"
|
2155
|
-
|
2156
|
-
|
2265
|
+
"raw": "/**\n * Monitors Webpack's compilation, and updates progress to Bit\n */",
|
2266
|
+
"comment": "Monitors Webpack's compilation, and updates progress to Bit"
|
2267
|
+
},
|
2268
|
+
"signature": "class WebpackBitReporterPlugin",
|
2269
|
+
"name": "WebpackBitReporterPlugin",
|
2270
|
+
"members": [
|
2271
|
+
{
|
2272
|
+
"__schema": "VariableLikeSchema",
|
2157
2273
|
"location": {
|
2158
2274
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2159
2275
|
"line": 12,
|
2160
|
-
"character":
|
2276
|
+
"character": 3
|
2161
2277
|
},
|
2162
|
-
"
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2278
|
+
"signature": "(property) WebpackBitReporterPlugin.pubsub: any",
|
2279
|
+
"name": "pubsub",
|
2280
|
+
"type": {
|
2281
|
+
"__schema": "KeywordTypeSchema",
|
2282
|
+
"location": {
|
2283
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2284
|
+
"line": 12,
|
2285
|
+
"character": 11
|
2286
|
+
},
|
2287
|
+
"name": "any"
|
2288
|
+
},
|
2289
|
+
"isOptional": false
|
2172
2290
|
},
|
2173
|
-
|
2174
|
-
|
2175
|
-
"type": {
|
2176
|
-
"__schema": "KeywordTypeSchema",
|
2291
|
+
{
|
2292
|
+
"__schema": "VariableLikeSchema",
|
2177
2293
|
"location": {
|
2178
2294
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2179
2295
|
"line": 13,
|
2180
|
-
"character":
|
2296
|
+
"character": 3
|
2181
2297
|
},
|
2182
|
-
"
|
2183
|
-
|
2184
|
-
|
2185
|
-
|
2186
|
-
{
|
2187
|
-
"__schema": "ConstructorSchema",
|
2188
|
-
"location": {
|
2189
|
-
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2190
|
-
"line": 15,
|
2191
|
-
"character": 3
|
2192
|
-
},
|
2193
|
-
"signature": "constructor WebpackBitReporterPlugin({ options }: {\n options: any;\n}): WebpackBitReporterPlugin",
|
2194
|
-
"name": "constructor",
|
2195
|
-
"params": [
|
2196
|
-
{
|
2197
|
-
"__schema": "ParameterSchema",
|
2298
|
+
"signature": "(property) WebpackBitReporterPlugin.devServerID: string",
|
2299
|
+
"name": "devServerID",
|
2300
|
+
"type": {
|
2301
|
+
"__schema": "KeywordTypeSchema",
|
2198
2302
|
"location": {
|
2199
2303
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2200
|
-
"line":
|
2201
|
-
"character":
|
2304
|
+
"line": 13,
|
2305
|
+
"character": 16
|
2202
2306
|
},
|
2203
|
-
"name": "
|
2204
|
-
|
2205
|
-
|
2307
|
+
"name": "string"
|
2308
|
+
},
|
2309
|
+
"isOptional": false
|
2310
|
+
},
|
2311
|
+
{
|
2312
|
+
"__schema": "ConstructorSchema",
|
2313
|
+
"location": {
|
2314
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2315
|
+
"line": 15,
|
2316
|
+
"character": 3
|
2317
|
+
},
|
2318
|
+
"signature": "constructor WebpackBitReporterPlugin({ options }: {\n options: any;\n}): WebpackBitReporterPlugin",
|
2319
|
+
"name": "constructor",
|
2320
|
+
"params": [
|
2321
|
+
{
|
2322
|
+
"__schema": "ParameterSchema",
|
2206
2323
|
"location": {
|
2207
2324
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2208
2325
|
"line": 15,
|
2209
2326
|
"character": 15
|
2210
2327
|
},
|
2211
|
-
"
|
2328
|
+
"name": "{ options }",
|
2329
|
+
"type": {
|
2330
|
+
"__schema": "TypeLiteralSchema",
|
2331
|
+
"location": {
|
2332
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2333
|
+
"line": 15,
|
2334
|
+
"character": 15
|
2335
|
+
},
|
2336
|
+
"members": [
|
2337
|
+
{
|
2338
|
+
"__schema": "InferenceTypeSchema",
|
2339
|
+
"location": {
|
2340
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2341
|
+
"line": 15,
|
2342
|
+
"character": 15
|
2343
|
+
},
|
2344
|
+
"name": "options",
|
2345
|
+
"type": "any"
|
2346
|
+
}
|
2347
|
+
]
|
2348
|
+
},
|
2349
|
+
"isOptional": false,
|
2350
|
+
"objectBindingNodes": [
|
2212
2351
|
{
|
2213
2352
|
"__schema": "InferenceTypeSchema",
|
2214
2353
|
"location": {
|
2215
2354
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2216
2355
|
"line": 15,
|
2217
|
-
"character":
|
2356
|
+
"character": 17
|
2218
2357
|
},
|
2219
2358
|
"name": "options",
|
2220
|
-
"type": "any"
|
2359
|
+
"type": "any",
|
2360
|
+
"isSpread": false
|
2221
2361
|
}
|
2222
|
-
]
|
2362
|
+
],
|
2363
|
+
"isSpread": false
|
2364
|
+
}
|
2365
|
+
],
|
2366
|
+
"returnType": {
|
2367
|
+
"__schema": "ThisTypeSchema",
|
2368
|
+
"location": {
|
2369
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2370
|
+
"line": 10,
|
2371
|
+
"character": 1
|
2223
2372
|
},
|
2224
|
-
"
|
2225
|
-
|
2226
|
-
|
2227
|
-
|
2228
|
-
|
2229
|
-
|
2230
|
-
"line": 15,
|
2231
|
-
"character": 17
|
2232
|
-
},
|
2233
|
-
"name": "options",
|
2234
|
-
"type": "any",
|
2235
|
-
"isSpread": false
|
2236
|
-
}
|
2237
|
-
],
|
2238
|
-
"isSpread": false
|
2239
|
-
}
|
2240
|
-
],
|
2241
|
-
"returnType": {
|
2242
|
-
"__schema": "ThisTypeSchema",
|
2373
|
+
"name": "WebpackBitReporterPlugin"
|
2374
|
+
},
|
2375
|
+
"modifiers": []
|
2376
|
+
},
|
2377
|
+
{
|
2378
|
+
"__schema": "FunctionLikeSchema",
|
2243
2379
|
"location": {
|
2244
2380
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2245
|
-
"line":
|
2246
|
-
"character":
|
2381
|
+
"line": 20,
|
2382
|
+
"character": 3
|
2247
2383
|
},
|
2248
|
-
"
|
2249
|
-
|
2250
|
-
|
2251
|
-
|
2252
|
-
|
2253
|
-
"__schema": "FunctionLikeSchema",
|
2254
|
-
"location": {
|
2255
|
-
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2256
|
-
"line": 20,
|
2257
|
-
"character": 3
|
2258
|
-
},
|
2259
|
-
"signature": "(method) WebpackBitReporterPlugin.apply(compiler: Compiler | any): void",
|
2260
|
-
"name": "apply",
|
2261
|
-
"params": [
|
2262
|
-
{
|
2263
|
-
"__schema": "ParameterSchema",
|
2264
|
-
"location": {
|
2265
|
-
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2266
|
-
"line": 20,
|
2267
|
-
"character": 9
|
2268
|
-
},
|
2269
|
-
"name": "compiler",
|
2270
|
-
"type": {
|
2271
|
-
"__schema": "TypeUnionSchema",
|
2384
|
+
"signature": "(method) WebpackBitReporterPlugin.apply(compiler: Compiler | any): void",
|
2385
|
+
"name": "apply",
|
2386
|
+
"params": [
|
2387
|
+
{
|
2388
|
+
"__schema": "ParameterSchema",
|
2272
2389
|
"location": {
|
2273
2390
|
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2274
2391
|
"line": 20,
|
2275
|
-
"character":
|
2392
|
+
"character": 9
|
2276
2393
|
},
|
2277
|
-
"
|
2278
|
-
|
2279
|
-
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
},
|
2285
|
-
"name": "Compiler",
|
2286
|
-
"packageName": "webpack"
|
2394
|
+
"name": "compiler",
|
2395
|
+
"type": {
|
2396
|
+
"__schema": "TypeUnionSchema",
|
2397
|
+
"location": {
|
2398
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2399
|
+
"line": 20,
|
2400
|
+
"character": 19
|
2287
2401
|
},
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
"
|
2292
|
-
|
2293
|
-
|
2402
|
+
"types": [
|
2403
|
+
{
|
2404
|
+
"__schema": "TypeRefSchema",
|
2405
|
+
"location": {
|
2406
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2407
|
+
"line": 20,
|
2408
|
+
"character": 19
|
2409
|
+
},
|
2410
|
+
"name": "Compiler",
|
2411
|
+
"packageName": "webpack"
|
2294
2412
|
},
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2413
|
+
{
|
2414
|
+
"__schema": "KeywordTypeSchema",
|
2415
|
+
"location": {
|
2416
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2417
|
+
"line": 20,
|
2418
|
+
"character": 30
|
2419
|
+
},
|
2420
|
+
"name": "any"
|
2421
|
+
}
|
2422
|
+
]
|
2423
|
+
},
|
2424
|
+
"isOptional": false,
|
2425
|
+
"isSpread": false
|
2426
|
+
}
|
2427
|
+
],
|
2428
|
+
"returnType": {
|
2429
|
+
"__schema": "InferenceTypeSchema",
|
2430
|
+
"location": {
|
2431
|
+
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2432
|
+
"line": 20,
|
2433
|
+
"character": 3
|
2298
2434
|
},
|
2299
|
-
"
|
2300
|
-
"isSpread": false
|
2301
|
-
}
|
2302
|
-
],
|
2303
|
-
"returnType": {
|
2304
|
-
"__schema": "InferenceTypeSchema",
|
2305
|
-
"location": {
|
2306
|
-
"filePath": "plugins/webpack-bit-reporter-plugin.ts",
|
2307
|
-
"line": 20,
|
2308
|
-
"character": 3
|
2435
|
+
"type": "void"
|
2309
2436
|
},
|
2310
|
-
"
|
2311
|
-
}
|
2312
|
-
|
2313
|
-
|
2314
|
-
|
2315
|
-
|
2316
|
-
"implementNodes": []
|
2437
|
+
"modifiers": []
|
2438
|
+
}
|
2439
|
+
],
|
2440
|
+
"extendsNodes": [],
|
2441
|
+
"implementNodes": []
|
2442
|
+
}
|
2317
2443
|
},
|
2318
2444
|
{
|
2319
|
-
"__schema": "
|
2445
|
+
"__schema": "ExportSchema",
|
2320
2446
|
"location": {
|
2321
|
-
"filePath": "
|
2322
|
-
"line":
|
2323
|
-
"character":
|
2447
|
+
"filePath": "index.ts",
|
2448
|
+
"line": 18,
|
2449
|
+
"character": 10
|
2324
2450
|
},
|
2325
|
-
"signature": "const fallbacks: {\n readonly assert: string;\n readonly buffer: string;\n readonly constants: string;\n readonly crypto: string;\n readonly domain: string;\n readonly http: string;\n readonly https: string;\n readonly os: string;\n ... 16 more ...;\n readonly child_process: false;\n}",
|
2326
2451
|
"name": "fallbacks",
|
2327
|
-
"
|
2328
|
-
"__schema": "
|
2452
|
+
"exportNode": {
|
2453
|
+
"__schema": "VariableLikeSchema",
|
2329
2454
|
"location": {
|
2330
2455
|
"filePath": "config/webpack-fallbacks.ts",
|
2331
2456
|
"line": 29,
|
2332
2457
|
"character": 14
|
2333
2458
|
},
|
2334
|
-
"
|
2335
|
-
|
2336
|
-
|
2337
|
-
|
2459
|
+
"signature": "const fallbacks: {\n readonly assert: string;\n readonly buffer: string;\n readonly constants: string;\n readonly crypto: string;\n readonly domain: string;\n readonly http: string;\n readonly https: string;\n readonly os: string;\n ... 16 more ...;\n readonly child_process: false;\n}",
|
2460
|
+
"name": "fallbacks",
|
2461
|
+
"type": {
|
2462
|
+
"__schema": "InferenceTypeSchema",
|
2463
|
+
"location": {
|
2464
|
+
"filePath": "config/webpack-fallbacks.ts",
|
2465
|
+
"line": 29,
|
2466
|
+
"character": 14
|
2467
|
+
},
|
2468
|
+
"type": "{\n readonly assert: string;\n readonly buffer: string;\n readonly constants: string;\n readonly crypto: string;\n readonly domain: string;\n readonly http: string;\n readonly https: string;\n readonly os: string;\n ... 16 more ...;\n readonly child_process: false;\n}"
|
2469
|
+
},
|
2470
|
+
"isOptional": false,
|
2471
|
+
"defaultValue": "{\n assert: assertFallbackPath,\n buffer: bufferFallbackPath,\n constants: constantsFallbackPath,\n crypto: cryptoFallbackPath,\n domain: domainFallbackPath,\n http: httpFallbackPath,\n https: httpsFallbackPath,\n os: osFallbackPath,\n path: pathFallbackPath,\n punycode: punycodeFallbackPath,\n process: processFallbackPath,\n querystring: querystringFallbackPath,\n stream: streamFallbackPath,\n string_decoder: string_decoderFallbackPath,\n sys: sysFallbackPath,\n timers: timersFallbackPath,\n tty: ttyFallbackPath,\n url: urlFallbackPath,\n util: utilFallbackPath,\n vm: vmFallbackPath,\n zlib: zlibFallbackPath,\n fs: false,\n net: false,\n tls: false,\n child_process: false,\n // file: false,\n // module: false,\n // pnpapi: false,\n // readline: false,\n // worker_threads: false,\n} as const"
|
2472
|
+
}
|
2338
2473
|
},
|
2339
2474
|
{
|
2340
|
-
"__schema": "
|
2475
|
+
"__schema": "ExportSchema",
|
2341
2476
|
"location": {
|
2342
|
-
"filePath": "
|
2343
|
-
"line":
|
2344
|
-
"character":
|
2477
|
+
"filePath": "index.ts",
|
2478
|
+
"line": 19,
|
2479
|
+
"character": 10
|
2345
2480
|
},
|
2346
|
-
"signature": "const fallbacksAliases: {\n process: string;\n buffer: string;\n}",
|
2347
2481
|
"name": "fallbacksAliases",
|
2348
|
-
"
|
2349
|
-
"__schema": "
|
2482
|
+
"exportNode": {
|
2483
|
+
"__schema": "VariableLikeSchema",
|
2350
2484
|
"location": {
|
2351
2485
|
"filePath": "config/webpack-fallbacks-aliases.ts",
|
2352
2486
|
"line": 1,
|
2353
2487
|
"character": 14
|
2354
2488
|
},
|
2355
|
-
"
|
2356
|
-
|
2357
|
-
|
2358
|
-
|
2489
|
+
"signature": "const fallbacksAliases: {\n process: string;\n buffer: string;\n}",
|
2490
|
+
"name": "fallbacksAliases",
|
2491
|
+
"type": {
|
2492
|
+
"__schema": "InferenceTypeSchema",
|
2493
|
+
"location": {
|
2494
|
+
"filePath": "config/webpack-fallbacks-aliases.ts",
|
2495
|
+
"line": 1,
|
2496
|
+
"character": 14
|
2497
|
+
},
|
2498
|
+
"type": "{\n process: string;\n buffer: string;\n}"
|
2499
|
+
},
|
2500
|
+
"isOptional": false,
|
2501
|
+
"defaultValue": "{\n process: require.resolve('process/browser'),\n buffer: require.resolve('buffer/'),\n}"
|
2502
|
+
}
|
2359
2503
|
},
|
2360
2504
|
{
|
2361
|
-
"__schema": "
|
2505
|
+
"__schema": "ExportSchema",
|
2362
2506
|
"location": {
|
2363
|
-
"filePath": "
|
2364
|
-
"line":
|
2365
|
-
"character":
|
2507
|
+
"filePath": "index.ts",
|
2508
|
+
"line": 20,
|
2509
|
+
"character": 10
|
2366
2510
|
},
|
2367
|
-
"signature": "const fallbacksProvidePluginConfig: {\n process: string;\n Buffer: string[];\n}",
|
2368
2511
|
"name": "fallbacksProvidePluginConfig",
|
2369
|
-
"
|
2370
|
-
"__schema": "
|
2512
|
+
"exportNode": {
|
2513
|
+
"__schema": "VariableLikeSchema",
|
2371
2514
|
"location": {
|
2372
2515
|
"filePath": "config/webpack-fallbacks-provide-plugin-config.ts",
|
2373
2516
|
"line": 1,
|
2374
2517
|
"character": 14
|
2375
2518
|
},
|
2376
|
-
"
|
2377
|
-
|
2378
|
-
|
2379
|
-
|
2519
|
+
"signature": "const fallbacksProvidePluginConfig: {\n process: string;\n Buffer: string[];\n}",
|
2520
|
+
"name": "fallbacksProvidePluginConfig",
|
2521
|
+
"type": {
|
2522
|
+
"__schema": "InferenceTypeSchema",
|
2523
|
+
"location": {
|
2524
|
+
"filePath": "config/webpack-fallbacks-provide-plugin-config.ts",
|
2525
|
+
"line": 1,
|
2526
|
+
"character": 14
|
2527
|
+
},
|
2528
|
+
"type": "{\n process: string;\n Buffer: string[];\n}"
|
2529
|
+
},
|
2530
|
+
"isOptional": false,
|
2531
|
+
"defaultValue": "{\n process: require.resolve('process/browser'),\n Buffer: [require.resolve('buffer/'), 'Buffer'],\n}"
|
2532
|
+
}
|
2380
2533
|
},
|
2381
2534
|
{
|
2382
|
-
"__schema": "
|
2535
|
+
"__schema": "ExportSchema",
|
2383
2536
|
"location": {
|
2384
|
-
"filePath": "
|
2385
|
-
"line":
|
2386
|
-
"character":
|
2537
|
+
"filePath": "index.ts",
|
2538
|
+
"line": 22,
|
2539
|
+
"character": 3
|
2387
2540
|
},
|
2388
|
-
"
|
2389
|
-
|
2541
|
+
"name": "GenerateBodyInjectionTransformer",
|
2542
|
+
"exportNode": {
|
2543
|
+
"__schema": "FunctionLikeSchema",
|
2390
2544
|
"location": {
|
2391
2545
|
"filePath": "transformers/inject-body.ts",
|
2392
|
-
"line":
|
2546
|
+
"line": 17,
|
2393
2547
|
"character": 1
|
2394
2548
|
},
|
2395
|
-
"
|
2396
|
-
|
2397
|
-
|
2549
|
+
"doc": {
|
2550
|
+
"__schema": "DocSchema",
|
2551
|
+
"location": {
|
2552
|
+
"filePath": "transformers/inject-body.ts",
|
2553
|
+
"line": 9,
|
2554
|
+
"character": 1
|
2555
|
+
},
|
2556
|
+
"raw": "/**\n * A transformer that allow you to inject content into your html body\n * We expose it from here, as it uses the inject-body-webpack-plugin which register to the html plugin hooks\n * which means it depends on the fact that it has the same html plugin instance\n * since, the html plugin is configured via the webpack aspect, expose it from here ensure the same instance\n * @param options\n * @returns\n */",
|
2557
|
+
"comment": "A transformer that allow you to inject content into your html body\nWe expose it from here, as it uses the inject-body-webpack-plugin which register to the html plugin hooks\nwhich means it depends on the fact that it has the same html plugin instance\nsince, the html plugin is configured via the webpack aspect, expose it from here ensure the same instance",
|
2558
|
+
"tags": [
|
2559
|
+
{
|
2560
|
+
"__schema": "PropertyLikeTagSchema",
|
2561
|
+
"location": {
|
2562
|
+
"filePath": "transformers/inject-body.ts",
|
2563
|
+
"line": 14,
|
2564
|
+
"character": 4
|
2565
|
+
},
|
2566
|
+
"name": "options",
|
2567
|
+
"tagName": "parameter"
|
2568
|
+
},
|
2569
|
+
{
|
2570
|
+
"__schema": "ReturnTagSchema",
|
2571
|
+
"location": {
|
2572
|
+
"filePath": "transformers/inject-body.ts",
|
2573
|
+
"line": 15,
|
2574
|
+
"character": 4
|
2575
|
+
},
|
2576
|
+
"tagName": "return"
|
2577
|
+
}
|
2578
|
+
]
|
2579
|
+
},
|
2580
|
+
"signature": "function GenerateBodyInjectionTransformer(options: BodyInjectionOptions): WebpackConfigTransformer",
|
2581
|
+
"name": "GenerateBodyInjectionTransformer",
|
2582
|
+
"params": [
|
2398
2583
|
{
|
2399
|
-
"__schema": "
|
2584
|
+
"__schema": "ParameterSchema",
|
2400
2585
|
"location": {
|
2401
2586
|
"filePath": "transformers/inject-body.ts",
|
2402
|
-
"line":
|
2403
|
-
"character":
|
2587
|
+
"line": 17,
|
2588
|
+
"character": 50
|
2404
2589
|
},
|
2405
2590
|
"name": "options",
|
2406
|
-
"
|
2407
|
-
|
2408
|
-
|
2409
|
-
|
2410
|
-
|
2411
|
-
|
2412
|
-
|
2413
|
-
"
|
2591
|
+
"type": {
|
2592
|
+
"__schema": "TypeRefSchema",
|
2593
|
+
"location": {
|
2594
|
+
"filePath": "transformers/inject-body.ts",
|
2595
|
+
"line": 17,
|
2596
|
+
"character": 59
|
2597
|
+
},
|
2598
|
+
"name": "BodyInjectionOptions"
|
2414
2599
|
},
|
2415
|
-
"
|
2600
|
+
"isOptional": false,
|
2601
|
+
"isSpread": false
|
2416
2602
|
}
|
2417
|
-
]
|
2418
|
-
|
2419
|
-
|
2420
|
-
"name": "GenerateBodyInjectionTransformer",
|
2421
|
-
"params": [
|
2422
|
-
{
|
2423
|
-
"__schema": "ParameterSchema",
|
2603
|
+
],
|
2604
|
+
"returnType": {
|
2605
|
+
"__schema": "TypeRefSchema",
|
2424
2606
|
"location": {
|
2425
2607
|
"filePath": "transformers/inject-body.ts",
|
2426
2608
|
"line": 17,
|
2427
|
-
"character":
|
2428
|
-
},
|
2429
|
-
"name": "options",
|
2430
|
-
"type": {
|
2431
|
-
"__schema": "TypeRefSchema",
|
2432
|
-
"location": {
|
2433
|
-
"filePath": "transformers/inject-body.ts",
|
2434
|
-
"line": 17,
|
2435
|
-
"character": 59
|
2436
|
-
},
|
2437
|
-
"name": "BodyInjectionOptions"
|
2609
|
+
"character": 1
|
2438
2610
|
},
|
2439
|
-
"
|
2440
|
-
"isSpread": false
|
2441
|
-
}
|
2442
|
-
],
|
2443
|
-
"returnType": {
|
2444
|
-
"__schema": "TypeRefSchema",
|
2445
|
-
"location": {
|
2446
|
-
"filePath": "transformers/inject-body.ts",
|
2447
|
-
"line": 17,
|
2448
|
-
"character": 1
|
2611
|
+
"name": "WebpackConfigTransformer"
|
2449
2612
|
},
|
2450
|
-
"
|
2451
|
-
|
2452
|
-
|
2453
|
-
|
2454
|
-
]
|
2613
|
+
"modifiers": [
|
2614
|
+
"export"
|
2615
|
+
]
|
2616
|
+
}
|
2455
2617
|
},
|
2456
2618
|
{
|
2457
|
-
"__schema": "
|
2619
|
+
"__schema": "ExportSchema",
|
2458
2620
|
"location": {
|
2459
|
-
"filePath": "
|
2460
|
-
"line":
|
2461
|
-
"character":
|
2621
|
+
"filePath": "index.ts",
|
2622
|
+
"line": 23,
|
2623
|
+
"character": 3
|
2462
2624
|
},
|
2463
|
-
"signature": "type BodyInjectionOptions = {\n content: string;\n position?: \"end\" | \"start\" | undefined;\n}",
|
2464
2625
|
"name": "BodyInjectionOptions",
|
2465
|
-
"
|
2466
|
-
"__schema": "
|
2626
|
+
"exportNode": {
|
2627
|
+
"__schema": "TypeSchema",
|
2467
2628
|
"location": {
|
2468
2629
|
"filePath": "transformers/inject-body.ts",
|
2469
2630
|
"line": 4,
|
2470
|
-
"character":
|
2631
|
+
"character": 1
|
2471
2632
|
},
|
2472
|
-
"
|
2473
|
-
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
"__schema": "
|
2633
|
+
"signature": "type BodyInjectionOptions = {\n content: string;\n position?: \"end\" | \"start\" | undefined;\n}",
|
2634
|
+
"name": "BodyInjectionOptions",
|
2635
|
+
"type": {
|
2636
|
+
"__schema": "TypeLiteralSchema",
|
2637
|
+
"location": {
|
2638
|
+
"filePath": "transformers/inject-body.ts",
|
2639
|
+
"line": 4,
|
2640
|
+
"character": 36
|
2641
|
+
},
|
2642
|
+
"members": [
|
2643
|
+
{
|
2644
|
+
"__schema": "VariableLikeSchema",
|
2484
2645
|
"location": {
|
2485
2646
|
"filePath": "transformers/inject-body.ts",
|
2486
2647
|
"line": 5,
|
2487
|
-
"character":
|
2648
|
+
"character": 3
|
2488
2649
|
},
|
2489
|
-
"
|
2490
|
-
|
2491
|
-
|
2492
|
-
|
2493
|
-
|
2494
|
-
|
2495
|
-
|
2496
|
-
|
2497
|
-
|
2498
|
-
|
2650
|
+
"signature": "(property) content: string",
|
2651
|
+
"name": "content",
|
2652
|
+
"type": {
|
2653
|
+
"__schema": "KeywordTypeSchema",
|
2654
|
+
"location": {
|
2655
|
+
"filePath": "transformers/inject-body.ts",
|
2656
|
+
"line": 5,
|
2657
|
+
"character": 12
|
2658
|
+
},
|
2659
|
+
"name": "string"
|
2660
|
+
},
|
2661
|
+
"isOptional": false
|
2499
2662
|
},
|
2500
|
-
|
2501
|
-
|
2502
|
-
"type": {
|
2503
|
-
"__schema": "TypeUnionSchema",
|
2663
|
+
{
|
2664
|
+
"__schema": "VariableLikeSchema",
|
2504
2665
|
"location": {
|
2505
2666
|
"filePath": "transformers/inject-body.ts",
|
2506
2667
|
"line": 6,
|
2507
|
-
"character":
|
2668
|
+
"character": 3
|
2508
2669
|
},
|
2509
|
-
"
|
2510
|
-
|
2511
|
-
|
2512
|
-
|
2513
|
-
|
2514
|
-
|
2515
|
-
|
2516
|
-
|
2517
|
-
"name": "'start'"
|
2670
|
+
"signature": "(property) position?: \"end\" | \"start\" | undefined",
|
2671
|
+
"name": "position",
|
2672
|
+
"type": {
|
2673
|
+
"__schema": "TypeUnionSchema",
|
2674
|
+
"location": {
|
2675
|
+
"filePath": "transformers/inject-body.ts",
|
2676
|
+
"line": 6,
|
2677
|
+
"character": 14
|
2518
2678
|
},
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
"
|
2523
|
-
|
2524
|
-
|
2679
|
+
"types": [
|
2680
|
+
{
|
2681
|
+
"__schema": "LiteralTypeSchema",
|
2682
|
+
"location": {
|
2683
|
+
"filePath": "transformers/inject-body.ts",
|
2684
|
+
"line": 6,
|
2685
|
+
"character": 14
|
2686
|
+
},
|
2687
|
+
"name": "'start'"
|
2525
2688
|
},
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2530
|
-
|
2531
|
-
|
2532
|
-
|
2689
|
+
{
|
2690
|
+
"__schema": "LiteralTypeSchema",
|
2691
|
+
"location": {
|
2692
|
+
"filePath": "transformers/inject-body.ts",
|
2693
|
+
"line": 6,
|
2694
|
+
"character": 24
|
2695
|
+
},
|
2696
|
+
"name": "'end'"
|
2697
|
+
}
|
2698
|
+
]
|
2699
|
+
},
|
2700
|
+
"isOptional": true
|
2701
|
+
}
|
2702
|
+
]
|
2703
|
+
}
|
2533
2704
|
}
|
2534
2705
|
},
|
2535
2706
|
{
|
2536
|
-
"__schema": "
|
2707
|
+
"__schema": "ExportSchema",
|
2537
2708
|
"location": {
|
2538
|
-
"filePath": "
|
2539
|
-
"line":
|
2540
|
-
"character":
|
2709
|
+
"filePath": "index.ts",
|
2710
|
+
"line": 24,
|
2711
|
+
"character": 3
|
2541
2712
|
},
|
2542
|
-
"signature": "function generateAddAliasesFromPeersTransformer(peers: string[], logger: Logger): (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
2543
2713
|
"name": "generateAddAliasesFromPeersTransformer",
|
2544
|
-
"
|
2545
|
-
|
2546
|
-
|
2547
|
-
"
|
2548
|
-
|
2549
|
-
|
2550
|
-
|
2551
|
-
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2714
|
+
"exportNode": {
|
2715
|
+
"__schema": "FunctionLikeSchema",
|
2716
|
+
"location": {
|
2717
|
+
"filePath": "transformers/transformers.ts",
|
2718
|
+
"line": 8,
|
2719
|
+
"character": 1
|
2720
|
+
},
|
2721
|
+
"signature": "function generateAddAliasesFromPeersTransformer(peers: string[], logger: Logger): (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
2722
|
+
"name": "generateAddAliasesFromPeersTransformer",
|
2723
|
+
"params": [
|
2724
|
+
{
|
2725
|
+
"__schema": "ParameterSchema",
|
2555
2726
|
"location": {
|
2556
2727
|
"filePath": "transformers/transformers.ts",
|
2557
2728
|
"line": 8,
|
2558
|
-
"character":
|
2729
|
+
"character": 56
|
2559
2730
|
},
|
2731
|
+
"name": "peers",
|
2560
2732
|
"type": {
|
2561
|
-
"__schema": "
|
2733
|
+
"__schema": "TypeArraySchema",
|
2562
2734
|
"location": {
|
2563
2735
|
"filePath": "transformers/transformers.ts",
|
2564
2736
|
"line": 8,
|
2565
2737
|
"character": 63
|
2566
2738
|
},
|
2567
|
-
"
|
2568
|
-
|
2569
|
-
|
2570
|
-
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2574
|
-
|
2575
|
-
|
2576
|
-
|
2577
|
-
"
|
2578
|
-
"
|
2739
|
+
"type": {
|
2740
|
+
"__schema": "KeywordTypeSchema",
|
2741
|
+
"location": {
|
2742
|
+
"filePath": "transformers/transformers.ts",
|
2743
|
+
"line": 8,
|
2744
|
+
"character": 63
|
2745
|
+
},
|
2746
|
+
"name": "string"
|
2747
|
+
}
|
2748
|
+
},
|
2749
|
+
"isOptional": false,
|
2750
|
+
"isSpread": false
|
2579
2751
|
},
|
2580
|
-
|
2581
|
-
|
2582
|
-
"__schema": "TypeRefSchema",
|
2752
|
+
{
|
2753
|
+
"__schema": "ParameterSchema",
|
2583
2754
|
"location": {
|
2584
2755
|
"filePath": "transformers/transformers.ts",
|
2585
2756
|
"line": 8,
|
2586
|
-
"character":
|
2757
|
+
"character": 73
|
2587
2758
|
},
|
2588
|
-
"name": "
|
2589
|
-
"
|
2590
|
-
"
|
2591
|
-
"
|
2592
|
-
|
2759
|
+
"name": "logger",
|
2760
|
+
"type": {
|
2761
|
+
"__schema": "TypeRefSchema",
|
2762
|
+
"location": {
|
2763
|
+
"filePath": "transformers/transformers.ts",
|
2764
|
+
"line": 8,
|
2765
|
+
"character": 81
|
2766
|
+
},
|
2767
|
+
"name": "Logger",
|
2768
|
+
"componentId": {
|
2769
|
+
"scope": "teambit.harmony",
|
2770
|
+
"name": "logger"
|
2771
|
+
}
|
2772
|
+
},
|
2773
|
+
"isOptional": false,
|
2774
|
+
"isSpread": false
|
2775
|
+
}
|
2776
|
+
],
|
2777
|
+
"returnType": {
|
2778
|
+
"__schema": "InferenceTypeSchema",
|
2779
|
+
"location": {
|
2780
|
+
"filePath": "transformers/transformers.ts",
|
2781
|
+
"line": 8,
|
2782
|
+
"character": 1
|
2593
2783
|
},
|
2594
|
-
"
|
2595
|
-
"isSpread": false
|
2596
|
-
}
|
2597
|
-
],
|
2598
|
-
"returnType": {
|
2599
|
-
"__schema": "InferenceTypeSchema",
|
2600
|
-
"location": {
|
2601
|
-
"filePath": "transformers/transformers.ts",
|
2602
|
-
"line": 8,
|
2603
|
-
"character": 1
|
2784
|
+
"type": "(config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator"
|
2604
2785
|
},
|
2605
|
-
"
|
2606
|
-
|
2607
|
-
|
2608
|
-
|
2609
|
-
]
|
2786
|
+
"modifiers": [
|
2787
|
+
"export"
|
2788
|
+
]
|
2789
|
+
}
|
2610
2790
|
},
|
2611
2791
|
{
|
2612
|
-
"__schema": "
|
2792
|
+
"__schema": "ExportSchema",
|
2613
2793
|
"location": {
|
2614
|
-
"filePath": "
|
2615
|
-
"line":
|
2616
|
-
"character":
|
2794
|
+
"filePath": "index.ts",
|
2795
|
+
"line": 25,
|
2796
|
+
"character": 3
|
2617
2797
|
},
|
2618
|
-
"
|
2619
|
-
|
2798
|
+
"name": "generateExposePeersTransformer",
|
2799
|
+
"exportNode": {
|
2800
|
+
"__schema": "FunctionLikeSchema",
|
2620
2801
|
"location": {
|
2621
2802
|
"filePath": "transformers/transformers.ts",
|
2622
|
-
"line":
|
2803
|
+
"line": 42,
|
2623
2804
|
"character": 1
|
2624
2805
|
},
|
2625
|
-
"
|
2626
|
-
|
2627
|
-
"tags": [
|
2628
|
-
{
|
2629
|
-
"__schema": "PropertyLikeTagSchema",
|
2630
|
-
"location": {
|
2631
|
-
"filePath": "transformers/transformers.ts",
|
2632
|
-
"line": 39,
|
2633
|
-
"character": 4
|
2634
|
-
},
|
2635
|
-
"name": "peers",
|
2636
|
-
"tagName": "parameter"
|
2637
|
-
},
|
2638
|
-
{
|
2639
|
-
"__schema": "ReturnTagSchema",
|
2640
|
-
"location": {
|
2641
|
-
"filePath": "transformers/transformers.ts",
|
2642
|
-
"line": 40,
|
2643
|
-
"character": 4
|
2644
|
-
},
|
2645
|
-
"tagName": "return"
|
2646
|
-
}
|
2647
|
-
]
|
2648
|
-
},
|
2649
|
-
"signature": "function generateExposePeersTransformer(peers: string[], logger: Logger): (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
2650
|
-
"name": "generateExposePeersTransformer",
|
2651
|
-
"params": [
|
2652
|
-
{
|
2653
|
-
"__schema": "ParameterSchema",
|
2806
|
+
"doc": {
|
2807
|
+
"__schema": "DocSchema",
|
2654
2808
|
"location": {
|
2655
2809
|
"filePath": "transformers/transformers.ts",
|
2656
|
-
"line":
|
2657
|
-
"character":
|
2810
|
+
"line": 37,
|
2811
|
+
"character": 1
|
2658
2812
|
},
|
2659
|
-
"
|
2660
|
-
"
|
2661
|
-
|
2813
|
+
"raw": "/**\n * Generate a transformer that expose all the peers as global via the expose loader\n * @param peers\n * @returns\n */",
|
2814
|
+
"comment": "Generate a transformer that expose all the peers as global via the expose loader",
|
2815
|
+
"tags": [
|
2816
|
+
{
|
2817
|
+
"__schema": "PropertyLikeTagSchema",
|
2818
|
+
"location": {
|
2819
|
+
"filePath": "transformers/transformers.ts",
|
2820
|
+
"line": 39,
|
2821
|
+
"character": 4
|
2822
|
+
},
|
2823
|
+
"name": "peers",
|
2824
|
+
"tagName": "parameter"
|
2825
|
+
},
|
2826
|
+
{
|
2827
|
+
"__schema": "ReturnTagSchema",
|
2828
|
+
"location": {
|
2829
|
+
"filePath": "transformers/transformers.ts",
|
2830
|
+
"line": 40,
|
2831
|
+
"character": 4
|
2832
|
+
},
|
2833
|
+
"tagName": "return"
|
2834
|
+
}
|
2835
|
+
]
|
2836
|
+
},
|
2837
|
+
"signature": "function generateExposePeersTransformer(peers: string[], logger: Logger): (config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator",
|
2838
|
+
"name": "generateExposePeersTransformer",
|
2839
|
+
"params": [
|
2840
|
+
{
|
2841
|
+
"__schema": "ParameterSchema",
|
2662
2842
|
"location": {
|
2663
2843
|
"filePath": "transformers/transformers.ts",
|
2664
2844
|
"line": 42,
|
2665
|
-
"character":
|
2845
|
+
"character": 48
|
2666
2846
|
},
|
2847
|
+
"name": "peers",
|
2667
2848
|
"type": {
|
2668
|
-
"__schema": "
|
2849
|
+
"__schema": "TypeArraySchema",
|
2669
2850
|
"location": {
|
2670
2851
|
"filePath": "transformers/transformers.ts",
|
2671
2852
|
"line": 42,
|
2672
2853
|
"character": 55
|
2673
2854
|
},
|
2674
|
-
"
|
2675
|
-
|
2676
|
-
|
2677
|
-
|
2678
|
-
|
2679
|
-
|
2680
|
-
|
2681
|
-
|
2682
|
-
|
2683
|
-
"filePath": "transformers/transformers.ts",
|
2684
|
-
"line": 42,
|
2685
|
-
"character": 65
|
2686
|
-
},
|
2687
|
-
"name": "logger",
|
2688
|
-
"type": {
|
2689
|
-
"__schema": "TypeRefSchema",
|
2690
|
-
"location": {
|
2691
|
-
"filePath": "transformers/transformers.ts",
|
2692
|
-
"line": 42,
|
2693
|
-
"character": 73
|
2855
|
+
"type": {
|
2856
|
+
"__schema": "KeywordTypeSchema",
|
2857
|
+
"location": {
|
2858
|
+
"filePath": "transformers/transformers.ts",
|
2859
|
+
"line": 42,
|
2860
|
+
"character": 55
|
2861
|
+
},
|
2862
|
+
"name": "string"
|
2863
|
+
}
|
2694
2864
|
},
|
2695
|
-
"
|
2696
|
-
"
|
2697
|
-
"scope": "teambit.harmony",
|
2698
|
-
"name": "logger"
|
2699
|
-
}
|
2865
|
+
"isOptional": false,
|
2866
|
+
"isSpread": false
|
2700
2867
|
},
|
2701
|
-
"isOptional": false,
|
2702
|
-
"isSpread": false
|
2703
|
-
}
|
2704
|
-
],
|
2705
|
-
"returnType": {
|
2706
|
-
"__schema": "InferenceTypeSchema",
|
2707
|
-
"location": {
|
2708
|
-
"filePath": "transformers/transformers.ts",
|
2709
|
-
"line": 42,
|
2710
|
-
"character": 1
|
2711
|
-
},
|
2712
|
-
"type": "(config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator"
|
2713
|
-
},
|
2714
|
-
"modifiers": [
|
2715
|
-
"export"
|
2716
|
-
]
|
2717
|
-
},
|
2718
|
-
{
|
2719
|
-
"__schema": "FunctionLikeSchema",
|
2720
|
-
"location": {
|
2721
|
-
"filePath": "transformers/transformers.ts",
|
2722
|
-
"line": 56,
|
2723
|
-
"character": 1
|
2724
|
-
},
|
2725
|
-
"doc": {
|
2726
|
-
"__schema": "DocSchema",
|
2727
|
-
"location": {
|
2728
|
-
"filePath": "transformers/transformers.ts",
|
2729
|
-
"line": 51,
|
2730
|
-
"character": 1
|
2731
|
-
},
|
2732
|
-
"raw": "/**\n * Generate a transformer that expose all the peers as global via the expose loader\n * @param peers\n * @returns\n */",
|
2733
|
-
"comment": "Generate a transformer that expose all the peers as global via the expose loader",
|
2734
|
-
"tags": [
|
2735
2868
|
{
|
2736
|
-
"__schema": "
|
2869
|
+
"__schema": "ParameterSchema",
|
2737
2870
|
"location": {
|
2738
2871
|
"filePath": "transformers/transformers.ts",
|
2739
|
-
"line":
|
2740
|
-
"character":
|
2872
|
+
"line": 42,
|
2873
|
+
"character": 65
|
2741
2874
|
},
|
2742
|
-
"name": "
|
2743
|
-
"
|
2744
|
-
|
2745
|
-
|
2746
|
-
|
2747
|
-
|
2748
|
-
|
2749
|
-
|
2750
|
-
"
|
2875
|
+
"name": "logger",
|
2876
|
+
"type": {
|
2877
|
+
"__schema": "TypeRefSchema",
|
2878
|
+
"location": {
|
2879
|
+
"filePath": "transformers/transformers.ts",
|
2880
|
+
"line": 42,
|
2881
|
+
"character": 73
|
2882
|
+
},
|
2883
|
+
"name": "Logger",
|
2884
|
+
"componentId": {
|
2885
|
+
"scope": "teambit.harmony",
|
2886
|
+
"name": "logger"
|
2887
|
+
}
|
2751
2888
|
},
|
2752
|
-
"
|
2889
|
+
"isOptional": false,
|
2890
|
+
"isSpread": false
|
2753
2891
|
}
|
2892
|
+
],
|
2893
|
+
"returnType": {
|
2894
|
+
"__schema": "InferenceTypeSchema",
|
2895
|
+
"location": {
|
2896
|
+
"filePath": "transformers/transformers.ts",
|
2897
|
+
"line": 42,
|
2898
|
+
"character": 1
|
2899
|
+
},
|
2900
|
+
"type": "(config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator"
|
2901
|
+
},
|
2902
|
+
"modifiers": [
|
2903
|
+
"export"
|
2754
2904
|
]
|
2905
|
+
}
|
2906
|
+
},
|
2907
|
+
{
|
2908
|
+
"__schema": "ExportSchema",
|
2909
|
+
"location": {
|
2910
|
+
"filePath": "index.ts",
|
2911
|
+
"line": 26,
|
2912
|
+
"character": 3
|
2755
2913
|
},
|
2756
|
-
"signature": "function generateExternalsTransformer(depes: string[]): (config: WebpackConfigMutator) => WebpackConfigMutator",
|
2757
2914
|
"name": "generateExternalsTransformer",
|
2758
|
-
"
|
2759
|
-
|
2760
|
-
|
2915
|
+
"exportNode": {
|
2916
|
+
"__schema": "FunctionLikeSchema",
|
2917
|
+
"location": {
|
2918
|
+
"filePath": "transformers/transformers.ts",
|
2919
|
+
"line": 56,
|
2920
|
+
"character": 1
|
2921
|
+
},
|
2922
|
+
"doc": {
|
2923
|
+
"__schema": "DocSchema",
|
2761
2924
|
"location": {
|
2762
2925
|
"filePath": "transformers/transformers.ts",
|
2763
|
-
"line":
|
2764
|
-
"character":
|
2926
|
+
"line": 51,
|
2927
|
+
"character": 1
|
2765
2928
|
},
|
2766
|
-
"
|
2767
|
-
"
|
2768
|
-
|
2929
|
+
"raw": "/**\n * Generate a transformer that expose all the peers as global via the expose loader\n * @param peers\n * @returns\n */",
|
2930
|
+
"comment": "Generate a transformer that expose all the peers as global via the expose loader",
|
2931
|
+
"tags": [
|
2932
|
+
{
|
2933
|
+
"__schema": "PropertyLikeTagSchema",
|
2934
|
+
"location": {
|
2935
|
+
"filePath": "transformers/transformers.ts",
|
2936
|
+
"line": 53,
|
2937
|
+
"character": 4
|
2938
|
+
},
|
2939
|
+
"name": "peers",
|
2940
|
+
"tagName": "parameter"
|
2941
|
+
},
|
2942
|
+
{
|
2943
|
+
"__schema": "ReturnTagSchema",
|
2944
|
+
"location": {
|
2945
|
+
"filePath": "transformers/transformers.ts",
|
2946
|
+
"line": 54,
|
2947
|
+
"character": 4
|
2948
|
+
},
|
2949
|
+
"tagName": "return"
|
2950
|
+
}
|
2951
|
+
]
|
2952
|
+
},
|
2953
|
+
"signature": "function generateExternalsTransformer(depes: string[]): (config: WebpackConfigMutator) => WebpackConfigMutator",
|
2954
|
+
"name": "generateExternalsTransformer",
|
2955
|
+
"params": [
|
2956
|
+
{
|
2957
|
+
"__schema": "ParameterSchema",
|
2769
2958
|
"location": {
|
2770
2959
|
"filePath": "transformers/transformers.ts",
|
2771
2960
|
"line": 56,
|
2772
|
-
"character":
|
2961
|
+
"character": 46
|
2773
2962
|
},
|
2963
|
+
"name": "depes",
|
2774
2964
|
"type": {
|
2775
|
-
"__schema": "
|
2965
|
+
"__schema": "TypeArraySchema",
|
2776
2966
|
"location": {
|
2777
2967
|
"filePath": "transformers/transformers.ts",
|
2778
2968
|
"line": 56,
|
2779
2969
|
"character": 53
|
2780
2970
|
},
|
2781
|
-
"
|
2782
|
-
|
2971
|
+
"type": {
|
2972
|
+
"__schema": "KeywordTypeSchema",
|
2973
|
+
"location": {
|
2974
|
+
"filePath": "transformers/transformers.ts",
|
2975
|
+
"line": 56,
|
2976
|
+
"character": 53
|
2977
|
+
},
|
2978
|
+
"name": "string"
|
2979
|
+
}
|
2980
|
+
},
|
2981
|
+
"isOptional": false,
|
2982
|
+
"isSpread": false
|
2983
|
+
}
|
2984
|
+
],
|
2985
|
+
"returnType": {
|
2986
|
+
"__schema": "InferenceTypeSchema",
|
2987
|
+
"location": {
|
2988
|
+
"filePath": "transformers/transformers.ts",
|
2989
|
+
"line": 56,
|
2990
|
+
"character": 1
|
2783
2991
|
},
|
2784
|
-
"
|
2785
|
-
"isSpread": false
|
2786
|
-
}
|
2787
|
-
],
|
2788
|
-
"returnType": {
|
2789
|
-
"__schema": "InferenceTypeSchema",
|
2790
|
-
"location": {
|
2791
|
-
"filePath": "transformers/transformers.ts",
|
2792
|
-
"line": 56,
|
2793
|
-
"character": 1
|
2992
|
+
"type": "(config: WebpackConfigMutator) => WebpackConfigMutator"
|
2794
2993
|
},
|
2795
|
-
"
|
2796
|
-
|
2797
|
-
|
2798
|
-
|
2799
|
-
]
|
2994
|
+
"modifiers": [
|
2995
|
+
"export"
|
2996
|
+
]
|
2997
|
+
}
|
2800
2998
|
},
|
2801
2999
|
{
|
2802
|
-
"__schema": "
|
3000
|
+
"__schema": "ExportSchema",
|
2803
3001
|
"location": {
|
2804
|
-
"filePath": "
|
2805
|
-
"line":
|
2806
|
-
"character":
|
3002
|
+
"filePath": "index.ts",
|
3003
|
+
"line": 27,
|
3004
|
+
"character": 3
|
2807
3005
|
},
|
2808
|
-
"
|
2809
|
-
|
3006
|
+
"name": "GenerateHeadInjectionTransformer",
|
3007
|
+
"exportNode": {
|
3008
|
+
"__schema": "FunctionLikeSchema",
|
2810
3009
|
"location": {
|
2811
3010
|
"filePath": "transformers/inject-head.ts",
|
2812
|
-
"line":
|
3011
|
+
"line": 17,
|
2813
3012
|
"character": 1
|
2814
3013
|
},
|
2815
|
-
"
|
2816
|
-
|
2817
|
-
|
3014
|
+
"doc": {
|
3015
|
+
"__schema": "DocSchema",
|
3016
|
+
"location": {
|
3017
|
+
"filePath": "transformers/inject-head.ts",
|
3018
|
+
"line": 9,
|
3019
|
+
"character": 1
|
3020
|
+
},
|
3021
|
+
"raw": "/**\n * A transformer that allow you to inject content into your html head\n * We expose it from here, as it uses the inject-head-webpack-plugin which register to the html plugin hooks\n * which means it depends on the fact that it has the same html plugin instance\n * since, the html plugin is configured via the webpack aspect, expose it from here ensure the same instance\n * @param options\n * @returns\n */",
|
3022
|
+
"comment": "A transformer that allow you to inject content into your html head\nWe expose it from here, as it uses the inject-head-webpack-plugin which register to the html plugin hooks\nwhich means it depends on the fact that it has the same html plugin instance\nsince, the html plugin is configured via the webpack aspect, expose it from here ensure the same instance",
|
3023
|
+
"tags": [
|
3024
|
+
{
|
3025
|
+
"__schema": "PropertyLikeTagSchema",
|
3026
|
+
"location": {
|
3027
|
+
"filePath": "transformers/inject-head.ts",
|
3028
|
+
"line": 14,
|
3029
|
+
"character": 4
|
3030
|
+
},
|
3031
|
+
"name": "options",
|
3032
|
+
"tagName": "parameter"
|
3033
|
+
},
|
3034
|
+
{
|
3035
|
+
"__schema": "ReturnTagSchema",
|
3036
|
+
"location": {
|
3037
|
+
"filePath": "transformers/inject-head.ts",
|
3038
|
+
"line": 15,
|
3039
|
+
"character": 4
|
3040
|
+
},
|
3041
|
+
"tagName": "return"
|
3042
|
+
}
|
3043
|
+
]
|
3044
|
+
},
|
3045
|
+
"signature": "function GenerateHeadInjectionTransformer(options: HeadInjectionOptions): WebpackConfigTransformer",
|
3046
|
+
"name": "GenerateHeadInjectionTransformer",
|
3047
|
+
"params": [
|
2818
3048
|
{
|
2819
|
-
"__schema": "
|
3049
|
+
"__schema": "ParameterSchema",
|
2820
3050
|
"location": {
|
2821
3051
|
"filePath": "transformers/inject-head.ts",
|
2822
|
-
"line":
|
2823
|
-
"character":
|
3052
|
+
"line": 17,
|
3053
|
+
"character": 50
|
2824
3054
|
},
|
2825
3055
|
"name": "options",
|
2826
|
-
"
|
2827
|
-
|
2828
|
-
|
2829
|
-
|
2830
|
-
|
2831
|
-
|
2832
|
-
|
2833
|
-
"
|
3056
|
+
"type": {
|
3057
|
+
"__schema": "TypeRefSchema",
|
3058
|
+
"location": {
|
3059
|
+
"filePath": "transformers/inject-head.ts",
|
3060
|
+
"line": 17,
|
3061
|
+
"character": 59
|
3062
|
+
},
|
3063
|
+
"name": "HeadInjectionOptions"
|
2834
3064
|
},
|
2835
|
-
"
|
3065
|
+
"isOptional": false,
|
3066
|
+
"isSpread": false
|
2836
3067
|
}
|
2837
|
-
]
|
2838
|
-
|
2839
|
-
|
2840
|
-
"name": "GenerateHeadInjectionTransformer",
|
2841
|
-
"params": [
|
2842
|
-
{
|
2843
|
-
"__schema": "ParameterSchema",
|
3068
|
+
],
|
3069
|
+
"returnType": {
|
3070
|
+
"__schema": "TypeRefSchema",
|
2844
3071
|
"location": {
|
2845
3072
|
"filePath": "transformers/inject-head.ts",
|
2846
3073
|
"line": 17,
|
2847
|
-
"character":
|
2848
|
-
},
|
2849
|
-
"name": "options",
|
2850
|
-
"type": {
|
2851
|
-
"__schema": "TypeRefSchema",
|
2852
|
-
"location": {
|
2853
|
-
"filePath": "transformers/inject-head.ts",
|
2854
|
-
"line": 17,
|
2855
|
-
"character": 59
|
2856
|
-
},
|
2857
|
-
"name": "HeadInjectionOptions"
|
3074
|
+
"character": 1
|
2858
3075
|
},
|
2859
|
-
"
|
2860
|
-
"isSpread": false
|
2861
|
-
}
|
2862
|
-
],
|
2863
|
-
"returnType": {
|
2864
|
-
"__schema": "TypeRefSchema",
|
2865
|
-
"location": {
|
2866
|
-
"filePath": "transformers/inject-head.ts",
|
2867
|
-
"line": 17,
|
2868
|
-
"character": 1
|
3076
|
+
"name": "WebpackConfigTransformer"
|
2869
3077
|
},
|
2870
|
-
"
|
2871
|
-
|
2872
|
-
|
2873
|
-
|
2874
|
-
]
|
3078
|
+
"modifiers": [
|
3079
|
+
"export"
|
3080
|
+
]
|
3081
|
+
}
|
2875
3082
|
},
|
2876
3083
|
{
|
2877
|
-
"__schema": "
|
3084
|
+
"__schema": "ExportSchema",
|
2878
3085
|
"location": {
|
2879
|
-
"filePath": "
|
2880
|
-
"line":
|
2881
|
-
"character":
|
3086
|
+
"filePath": "index.ts",
|
3087
|
+
"line": 28,
|
3088
|
+
"character": 3
|
2882
3089
|
},
|
2883
|
-
"signature": "type HeadInjectionOptions = {\n content: string;\n position?: \"end\" | \"start\" | undefined;\n}",
|
2884
3090
|
"name": "HeadInjectionOptions",
|
2885
|
-
"
|
2886
|
-
"__schema": "
|
3091
|
+
"exportNode": {
|
3092
|
+
"__schema": "TypeSchema",
|
2887
3093
|
"location": {
|
2888
3094
|
"filePath": "transformers/inject-head.ts",
|
2889
3095
|
"line": 4,
|
2890
|
-
"character":
|
3096
|
+
"character": 1
|
2891
3097
|
},
|
2892
|
-
"
|
2893
|
-
|
2894
|
-
|
2895
|
-
|
2896
|
-
|
2897
|
-
|
2898
|
-
|
2899
|
-
|
2900
|
-
|
2901
|
-
|
2902
|
-
|
2903
|
-
"__schema": "
|
3098
|
+
"signature": "type HeadInjectionOptions = {\n content: string;\n position?: \"end\" | \"start\" | undefined;\n}",
|
3099
|
+
"name": "HeadInjectionOptions",
|
3100
|
+
"type": {
|
3101
|
+
"__schema": "TypeLiteralSchema",
|
3102
|
+
"location": {
|
3103
|
+
"filePath": "transformers/inject-head.ts",
|
3104
|
+
"line": 4,
|
3105
|
+
"character": 36
|
3106
|
+
},
|
3107
|
+
"members": [
|
3108
|
+
{
|
3109
|
+
"__schema": "VariableLikeSchema",
|
2904
3110
|
"location": {
|
2905
3111
|
"filePath": "transformers/inject-head.ts",
|
2906
3112
|
"line": 5,
|
2907
|
-
"character":
|
3113
|
+
"character": 3
|
2908
3114
|
},
|
2909
|
-
"
|
2910
|
-
|
2911
|
-
|
2912
|
-
|
2913
|
-
|
2914
|
-
|
2915
|
-
|
2916
|
-
|
2917
|
-
|
2918
|
-
|
3115
|
+
"signature": "(property) content: string",
|
3116
|
+
"name": "content",
|
3117
|
+
"type": {
|
3118
|
+
"__schema": "KeywordTypeSchema",
|
3119
|
+
"location": {
|
3120
|
+
"filePath": "transformers/inject-head.ts",
|
3121
|
+
"line": 5,
|
3122
|
+
"character": 12
|
3123
|
+
},
|
3124
|
+
"name": "string"
|
3125
|
+
},
|
3126
|
+
"isOptional": false
|
2919
3127
|
},
|
2920
|
-
|
2921
|
-
|
2922
|
-
"type": {
|
2923
|
-
"__schema": "TypeUnionSchema",
|
3128
|
+
{
|
3129
|
+
"__schema": "VariableLikeSchema",
|
2924
3130
|
"location": {
|
2925
3131
|
"filePath": "transformers/inject-head.ts",
|
2926
3132
|
"line": 6,
|
2927
|
-
"character":
|
3133
|
+
"character": 3
|
2928
3134
|
},
|
2929
|
-
"
|
2930
|
-
|
2931
|
-
|
2932
|
-
|
2933
|
-
|
2934
|
-
|
2935
|
-
|
2936
|
-
|
2937
|
-
"name": "'start'"
|
3135
|
+
"signature": "(property) position?: \"end\" | \"start\" | undefined",
|
3136
|
+
"name": "position",
|
3137
|
+
"type": {
|
3138
|
+
"__schema": "TypeUnionSchema",
|
3139
|
+
"location": {
|
3140
|
+
"filePath": "transformers/inject-head.ts",
|
3141
|
+
"line": 6,
|
3142
|
+
"character": 14
|
2938
3143
|
},
|
2939
|
-
|
2940
|
-
|
2941
|
-
|
2942
|
-
"
|
2943
|
-
|
2944
|
-
|
3144
|
+
"types": [
|
3145
|
+
{
|
3146
|
+
"__schema": "LiteralTypeSchema",
|
3147
|
+
"location": {
|
3148
|
+
"filePath": "transformers/inject-head.ts",
|
3149
|
+
"line": 6,
|
3150
|
+
"character": 14
|
3151
|
+
},
|
3152
|
+
"name": "'start'"
|
2945
3153
|
},
|
2946
|
-
|
2947
|
-
|
2948
|
-
|
2949
|
-
|
2950
|
-
|
2951
|
-
|
2952
|
-
|
3154
|
+
{
|
3155
|
+
"__schema": "LiteralTypeSchema",
|
3156
|
+
"location": {
|
3157
|
+
"filePath": "transformers/inject-head.ts",
|
3158
|
+
"line": 6,
|
3159
|
+
"character": 24
|
3160
|
+
},
|
3161
|
+
"name": "'end'"
|
3162
|
+
}
|
3163
|
+
]
|
3164
|
+
},
|
3165
|
+
"isOptional": true
|
3166
|
+
}
|
3167
|
+
]
|
3168
|
+
}
|
2953
3169
|
}
|
2954
3170
|
}
|
2955
3171
|
],
|
@@ -4095,7 +4311,7 @@
|
|
4095
4311
|
"_legacy": {
|
4096
4312
|
"scope": "teambit.webpack",
|
4097
4313
|
"name": "webpack",
|
4098
|
-
"version": "1.0.
|
4314
|
+
"version": "1.0.259"
|
4099
4315
|
},
|
4100
4316
|
"_scope": "teambit.webpack"
|
4101
4317
|
}
|
@@ -4398,7 +4614,7 @@
|
|
4398
4614
|
"_legacy": {
|
4399
4615
|
"scope": "teambit.webpack",
|
4400
4616
|
"name": "webpack",
|
4401
|
-
"version": "1.0.
|
4617
|
+
"version": "1.0.259"
|
4402
4618
|
},
|
4403
4619
|
"_scope": "teambit.webpack"
|
4404
4620
|
}
|
@@ -4667,7 +4883,7 @@
|
|
4667
4883
|
"_legacy": {
|
4668
4884
|
"scope": "teambit.webpack",
|
4669
4885
|
"name": "webpack",
|
4670
|
-
"version": "1.0.
|
4886
|
+
"version": "1.0.259"
|
4671
4887
|
},
|
4672
4888
|
"_scope": "teambit.webpack"
|
4673
4889
|
}
|
@@ -4896,7 +5112,7 @@
|
|
4896
5112
|
"_legacy": {
|
4897
5113
|
"scope": "teambit.webpack",
|
4898
5114
|
"name": "webpack",
|
4899
|
-
"version": "1.0.
|
5115
|
+
"version": "1.0.259"
|
4900
5116
|
},
|
4901
5117
|
"_scope": "teambit.webpack"
|
4902
5118
|
}
|
@@ -5122,7 +5338,7 @@
|
|
5122
5338
|
"_legacy": {
|
5123
5339
|
"scope": "teambit.webpack",
|
5124
5340
|
"name": "webpack",
|
5125
|
-
"version": "1.0.
|
5341
|
+
"version": "1.0.259"
|
5126
5342
|
},
|
5127
5343
|
"_scope": "teambit.webpack"
|
5128
5344
|
}
|
@@ -5692,7 +5908,7 @@
|
|
5692
5908
|
"componentId": {
|
5693
5909
|
"scope": "teambit.webpack",
|
5694
5910
|
"name": "webpack",
|
5695
|
-
"version": "1.0.
|
5911
|
+
"version": "1.0.259"
|
5696
5912
|
},
|
5697
5913
|
"taggedModuleExports": []
|
5698
5914
|
}
|