@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.
@@ -14,954 +14,1089 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "webpack.main.runtime.ts",
20
- "line": 61,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 2,
21
+ "character": 3
22
22
  },
23
- "signature": "class WebpackMain",
24
23
  "name": "WebpackMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "webpack.main.runtime.ts",
30
- "line": 62,
31
- "character": 3
32
- },
33
- "signature": "constructor WebpackMain(pubsub: PubsubMain, workspace: Workspace, bundler: BundlerMain, logger: Logger): WebpackMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "webpack.main.runtime.ts",
40
- "line": 66,
41
- "character": 5
42
- },
43
- "name": "pubsub",
44
- "type": {
45
- "__schema": "TypeRefSchema",
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": 20
49
+ "character": 5
50
50
  },
51
- "name": "PubsubMain",
52
- "componentId": {
53
- "scope": "teambit.harmony",
54
- "name": "pubsub"
55
- }
56
- },
57
- "isOptional": false,
58
- "isSpread": false
59
- },
60
- {
61
- "__schema": "ParameterSchema",
62
- "location": {
63
- "filePath": "webpack.main.runtime.ts",
64
- "line": 71,
65
- "character": 5
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
- "name": "workspace",
68
- "type": {
69
- "__schema": "TypeRefSchema",
68
+ {
69
+ "__schema": "ParameterSchema",
70
70
  "location": {
71
71
  "filePath": "webpack.main.runtime.ts",
72
72
  "line": 71,
73
- "character": 24
73
+ "character": 5
74
74
  },
75
- "name": "Workspace",
76
- "componentId": {
77
- "scope": "teambit.workspace",
78
- "name": "workspace"
79
- }
80
- },
81
- "isOptional": false,
82
- "isSpread": false
83
- },
84
- {
85
- "__schema": "ParameterSchema",
86
- "location": {
87
- "filePath": "webpack.main.runtime.ts",
88
- "line": 76,
89
- "character": 5
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
- "name": "bundler",
92
- "type": {
93
- "__schema": "TypeRefSchema",
92
+ {
93
+ "__schema": "ParameterSchema",
94
94
  "location": {
95
95
  "filePath": "webpack.main.runtime.ts",
96
96
  "line": 76,
97
- "character": 22
97
+ "character": 5
98
98
  },
99
- "name": "BundlerMain",
100
- "componentId": {
101
- "scope": "teambit.compilation",
102
- "name": "bundler"
103
- }
104
- },
105
- "isOptional": false,
106
- "isSpread": false
107
- },
108
- {
109
- "__schema": "ParameterSchema",
110
- "location": {
111
- "filePath": "webpack.main.runtime.ts",
112
- "line": 81,
113
- "character": 5
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
- "name": "logger",
116
- "type": {
117
- "__schema": "TypeRefSchema",
116
+ {
117
+ "__schema": "ParameterSchema",
118
118
  "location": {
119
119
  "filePath": "webpack.main.runtime.ts",
120
120
  "line": 81,
121
- "character": 20
121
+ "character": 5
122
122
  },
123
- "name": "Logger",
124
- "componentId": {
125
- "scope": "teambit.harmony",
126
- "name": "logger"
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
- "isOptional": false,
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
- "name": "WebpackMain"
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
- "doc": {
152
- "__schema": "DocSchema",
152
+ {
153
+ "__schema": "FunctionLikeSchema",
153
154
  "location": {
154
155
  "filePath": "webpack.main.runtime.ts",
155
- "line": 84,
156
+ "line": 87,
156
157
  "character": 3
157
158
  },
158
- "raw": "/**\n * create an instance of bit-compliant webpack dev server for a set of components\n */",
159
- "comment": "create an instance of bit-compliant webpack dev server for a set of components"
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": 88,
169
- "character": 5
163
+ "line": 84,
164
+ "character": 3
170
165
  },
171
- "name": "context",
172
- "type": {
173
- "__schema": "TypeRefSchema",
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": 14
177
+ "character": 5
178
178
  },
179
- "name": "DevServerContext",
180
- "componentId": {
181
- "scope": "teambit.compilation",
182
- "name": "bundler"
183
- }
184
- },
185
- "isOptional": false,
186
- "isSpread": false
187
- },
188
- {
189
- "__schema": "ParameterSchema",
190
- "location": {
191
- "filePath": "webpack.main.runtime.ts",
192
- "line": 89,
193
- "character": 5
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
- "name": "transformers",
196
- "type": {
197
- "__schema": "TypeArraySchema",
196
+ {
197
+ "__schema": "ParameterSchema",
198
198
  "location": {
199
199
  "filePath": "webpack.main.runtime.ts",
200
200
  "line": 89,
201
- "character": 19
201
+ "character": 5
202
202
  },
203
+ "name": "transformers",
203
204
  "type": {
204
- "__schema": "TypeRefSchema",
205
+ "__schema": "TypeArraySchema",
205
206
  "location": {
206
207
  "filePath": "webpack.main.runtime.ts",
207
208
  "line": 89,
208
209
  "character": 19
209
210
  },
210
- "name": "WebpackConfigTransformer"
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
- "isOptional": true,
214
- "defaultValue": "[]",
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": 25
230
+ "character": 5
231
231
  },
232
- "name": "string"
233
- },
234
- "isOptional": true,
235
- "isSpread": false
236
- },
237
- {
238
- "__schema": "ParameterSchema",
239
- "location": {
240
- "filePath": "webpack.main.runtime.ts",
241
- "line": 91,
242
- "character": 5
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
- "name": "webpackDevServerModulePath",
245
- "type": {
246
- "__schema": "KeywordTypeSchema",
245
+ {
246
+ "__schema": "ParameterSchema",
247
247
  "location": {
248
248
  "filePath": "webpack.main.runtime.ts",
249
249
  "line": 91,
250
- "character": 34
250
+ "character": 5
251
251
  },
252
- "name": "string"
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
- "isOptional": true,
255
- "isSpread": false
256
- }
257
- ],
258
- "returnType": {
259
- "__schema": "TypeRefSchema",
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": 87,
285
+ "line": 116,
263
286
  "character": 3
264
287
  },
265
- "name": "DevServer",
266
- "componentId": {
267
- "scope": "teambit.compilation",
268
- "name": "bundler"
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": 23
296
+ "character": 15
297
297
  },
298
- "name": "any"
299
- },
300
- "isOptional": false,
301
- "isSpread": false
302
- },
303
- {
304
- "__schema": "ParameterSchema",
305
- "location": {
306
- "filePath": "webpack.main.runtime.ts",
307
- "line": 116,
308
- "character": 28
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
- "name": "source",
311
- "type": {
312
- "__schema": "KeywordTypeSchema",
311
+ {
312
+ "__schema": "ParameterSchema",
313
313
  "location": {
314
314
  "filePath": "webpack.main.runtime.ts",
315
315
  "line": 116,
316
- "character": 36
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
- "name": "any"
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
- "isOptional": false,
321
- "isSpread": false
322
- }
323
- ],
324
- "returnType": {
325
- "__schema": "KeywordTypeSchema",
339
+ "name": "any"
340
+ },
341
+ "modifiers": []
342
+ },
343
+ {
344
+ "__schema": "FunctionLikeSchema",
326
345
  "location": {
327
346
  "filePath": "webpack.main.runtime.ts",
328
- "line": 116,
329
- "character": 42
347
+ "line": 120,
348
+ "character": 3
330
349
  },
331
- "name": "any"
332
- },
333
- "modifiers": []
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": 14
358
+ "character": 5
359
359
  },
360
- "name": "BundlerContext",
361
- "componentId": {
362
- "scope": "teambit.compilation",
363
- "name": "bundler"
364
- }
365
- },
366
- "isOptional": false,
367
- "isSpread": false
368
- },
369
- {
370
- "__schema": "ParameterSchema",
371
- "location": {
372
- "filePath": "webpack.main.runtime.ts",
373
- "line": 122,
374
- "character": 5
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
- "name": "transformers",
377
- "type": {
378
- "__schema": "TypeArraySchema",
377
+ {
378
+ "__schema": "ParameterSchema",
379
379
  "location": {
380
380
  "filePath": "webpack.main.runtime.ts",
381
381
  "line": 122,
382
- "character": 19
382
+ "character": 5
383
383
  },
384
+ "name": "transformers",
384
385
  "type": {
385
- "__schema": "TypeRefSchema",
386
+ "__schema": "TypeArraySchema",
386
387
  "location": {
387
388
  "filePath": "webpack.main.runtime.ts",
388
389
  "line": 122,
389
390
  "character": 19
390
391
  },
391
- "name": "WebpackConfigTransformer"
392
- }
393
- },
394
- "isOptional": true,
395
- "defaultValue": "[]",
396
- "isSpread": false
397
- },
398
- {
399
- "__schema": "ParameterSchema",
400
- "location": {
401
- "filePath": "webpack.main.runtime.ts",
402
- "line": 123,
403
- "character": 5
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
- "name": "initialConfigs",
406
- "type": {
407
- "__schema": "TypeArraySchema",
406
+ {
407
+ "__schema": "ParameterSchema",
408
408
  "location": {
409
409
  "filePath": "webpack.main.runtime.ts",
410
410
  "line": 123,
411
- "character": 22
411
+ "character": 5
412
412
  },
413
+ "name": "initialConfigs",
413
414
  "type": {
414
- "__schema": "TypeRefSchema",
415
+ "__schema": "TypeArraySchema",
415
416
  "location": {
416
417
  "filePath": "webpack.main.runtime.ts",
417
418
  "line": 123,
418
419
  "character": 22
419
420
  },
420
- "name": "webpack.Configuration"
421
- }
422
- },
423
- "isOptional": true,
424
- "isSpread": false
425
- },
426
- {
427
- "__schema": "ParameterSchema",
428
- "location": {
429
- "filePath": "webpack.main.runtime.ts",
430
- "line": 124,
431
- "character": 5
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
- "name": "webpackModuleOrPath",
434
- "type": {
435
- "__schema": "TypeUnionSchema",
434
+ {
435
+ "__schema": "ParameterSchema",
436
436
  "location": {
437
437
  "filePath": "webpack.main.runtime.ts",
438
438
  "line": 124,
439
- "character": 27
439
+ "character": 5
440
440
  },
441
- "types": [
442
- {
443
- "__schema": "KeywordTypeSchema",
444
- "location": {
445
- "filePath": "webpack.main.runtime.ts",
446
- "line": 124,
447
- "character": 27
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
- "__schema": "KeywordTypeSchema",
453
- "location": {
454
- "filePath": "webpack.main.runtime.ts",
455
- "line": 124,
456
- "character": 36
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
- "name": "any"
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
- "isOptional": true,
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
- "name": "WebpackBundler"
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
- "signature": "(property) WebpackMain.slots: never[]",
485
- "name": "slots",
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
- "type": "never[]"
494
- },
495
- "isOptional": true,
496
- "defaultValue": "[]"
497
- },
498
- {
499
- "__schema": "VariableLikeSchema",
500
- "location": {
501
- "filePath": "webpack.main.runtime.ts",
502
- "line": 219,
503
- "character": 3
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
- "signature": "(property) WebpackMain.runtime: RuntimeDefinition",
506
- "name": "runtime",
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
- "type": "RuntimeDefinition"
515
- },
516
- "isOptional": true,
517
- "defaultValue": "MainRuntime"
518
- },
519
- {
520
- "__schema": "VariableLikeSchema",
521
- "location": {
522
- "filePath": "webpack.main.runtime.ts",
523
- "line": 220,
524
- "character": 3
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
- "signature": "(property) WebpackMain.dependencies: Aspect[]",
527
- "name": "dependencies",
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
- "type": "Aspect[]"
536
- },
537
- "isOptional": true,
538
- "defaultValue": "[PubsubAspect, WorkspaceAspect, BundlerAspect, LoggerAspect]"
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": 222,
555
- "character": 25
540
+ "line": 220,
541
+ "character": 3
556
542
  },
557
- "name": "[ pubsub, workspace, bundler, logger ]",
558
- "type": {
559
- "__schema": "TupleTypeSchema",
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": 63
563
+ "character": 25
564
564
  },
565
- "elements": [
566
- {
567
- "__schema": "TypeRefSchema",
568
- "location": {
569
- "filePath": "webpack.main.runtime.ts",
570
- "line": 222,
571
- "character": 64
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
- "__schema": "TypeRefSchema",
581
- "location": {
582
- "filePath": "webpack.main.runtime.ts",
583
- "line": 222,
584
- "character": 76
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
- "name": "Workspace",
587
- "componentId": {
588
- "scope": "teambit.workspace",
589
- "name": "workspace"
590
- }
591
- },
592
- {
593
- "__schema": "TypeRefSchema",
594
- "location": {
595
- "filePath": "webpack.main.runtime.ts",
596
- "line": 222,
597
- "character": 87
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
- "name": "BundlerMain",
600
- "componentId": {
601
- "scope": "teambit.compilation",
602
- "name": "bundler"
603
- }
604
- },
605
- {
606
- "__schema": "TypeRefSchema",
607
- "location": {
608
- "filePath": "webpack.main.runtime.ts",
609
- "line": 222,
610
- "character": 100
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
- "name": "LoggerMain",
613
- "componentId": {
614
- "scope": "teambit.harmony",
615
- "name": "logger"
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
- "isOptional": false,
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
- "type": "Promise<WebpackMain>"
632
- },
633
- "modifiers": [
634
- "static",
635
- "async"
636
- ]
637
- }
638
- ],
639
- "extendsNodes": [],
640
- "implementNodes": []
641
+ "modifiers": [
642
+ "static",
643
+ "async"
644
+ ]
645
+ }
646
+ ],
647
+ "extendsNodes": [],
648
+ "implementNodes": []
649
+ }
641
650
  },
642
651
  {
643
- "__schema": "TypeSchema",
652
+ "__schema": "ExportSchema",
644
653
  "location": {
645
- "filePath": "webpack.main.runtime.ts",
646
- "line": 51,
647
- "character": 1
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
- "type": {
652
- "__schema": "FunctionLikeSchema",
659
+ "exportNode": {
660
+ "__schema": "TypeSchema",
653
661
  "location": {
654
662
  "filePath": "webpack.main.runtime.ts",
655
663
  "line": 51,
656
- "character": 40
664
+ "character": 1
657
665
  },
658
- "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",
659
- "name": "",
660
- "params": [
661
- {
662
- "__schema": "ParameterSchema",
663
- "location": {
664
- "filePath": "webpack.main.runtime.ts",
665
- "line": 52,
666
- "character": 3
667
- },
668
- "name": "config",
669
- "type": {
670
- "__schema": "TypeRefSchema",
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": 11
683
+ "character": 3
675
684
  },
676
- "name": "WebpackConfigMutator",
677
- "componentId": {
678
- "scope": "teambit.webpack",
679
- "name": "modules/config-mutator",
680
- "version": "0.0.166"
681
- }
682
- },
683
- "isOptional": false,
684
- "isSpread": false
685
- },
686
- {
687
- "__schema": "ParameterSchema",
688
- "location": {
689
- "filePath": "webpack.main.runtime.ts",
690
- "line": 53,
691
- "character": 3
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
- "name": "context",
694
- "type": {
695
- "__schema": "TypeRefSchema",
703
+ {
704
+ "__schema": "ParameterSchema",
696
705
  "location": {
697
706
  "filePath": "webpack.main.runtime.ts",
698
707
  "line": 53,
699
- "character": 12
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
- "name": "WebpackConfigTransformContext"
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
- "isOptional": false,
704
- "isSpread": false
705
- }
706
- ],
707
- "returnType": {
708
- "__schema": "TypeRefSchema",
709
- "location": {
710
- "filePath": "webpack.main.runtime.ts",
711
- "line": 54,
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": "TypeSchema",
743
+ "__schema": "ExportSchema",
726
744
  "location": {
727
- "filePath": "webpack.main.runtime.ts",
728
- "line": 30,
729
- "character": 1
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
- "type": {
734
- "__schema": "TypeIntersectionSchema",
750
+ "exportNode": {
751
+ "__schema": "TypeSchema",
735
752
  "location": {
736
753
  "filePath": "webpack.main.runtime.ts",
737
754
  "line": 30,
738
- "character": 45
755
+ "character": 1
739
756
  },
740
- "types": [
741
- {
742
- "__schema": "TypeRefSchema",
743
- "location": {
744
- "filePath": "webpack.main.runtime.ts",
745
- "line": 30,
746
- "character": 45
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
- "__schema": "TypeLiteralSchema",
752
- "location": {
753
- "filePath": "webpack.main.runtime.ts",
754
- "line": 30,
755
- "character": 83
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
- "members": [
758
- {
759
- "__schema": "VariableLikeSchema",
760
- "location": {
761
- "filePath": "webpack.main.runtime.ts",
762
- "line": 31,
763
- "character": 3
764
- },
765
- "signature": "(property) target: Target",
766
- "name": "target",
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
- "name": "Target",
775
- "componentId": {
776
- "scope": "teambit.compilation",
777
- "name": "bundler"
778
- }
779
- },
780
- "isOptional": false
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": "TypeSchema",
815
+ "__schema": "ExportSchema",
789
816
  "location": {
790
- "filePath": "webpack.main.runtime.ts",
791
- "line": 34,
792
- "character": 1
817
+ "filePath": "index.ts",
818
+ "line": 5,
819
+ "character": 3
793
820
  },
794
- "signature": "type WebpackConfigDevServerTransformContext = GlobalWebpackConfigTransformContext & DevServerContext",
795
821
  "name": "WebpackConfigDevServerTransformContext",
796
- "type": {
797
- "__schema": "TypeIntersectionSchema",
822
+ "exportNode": {
823
+ "__schema": "TypeSchema",
798
824
  "location": {
799
825
  "filePath": "webpack.main.runtime.ts",
800
826
  "line": 34,
801
- "character": 54
827
+ "character": 1
802
828
  },
803
- "types": [
804
- {
805
- "__schema": "TypeRefSchema",
806
- "location": {
807
- "filePath": "webpack.main.runtime.ts",
808
- "line": 34,
809
- "character": 54
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
- "__schema": "TypeRefSchema",
815
- "location": {
816
- "filePath": "webpack.main.runtime.ts",
817
- "line": 34,
818
- "character": 92
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
- "name": "DevServerContext",
821
- "componentId": {
822
- "scope": "teambit.compilation",
823
- "name": "bundler"
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": "TypeSchema",
866
+ "__schema": "ExportSchema",
831
867
  "location": {
832
- "filePath": "webpack.main.runtime.ts",
833
- "line": 36,
834
- "character": 1
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
- "type": {
839
- "__schema": "TypeLiteralSchema",
873
+ "exportNode": {
874
+ "__schema": "TypeSchema",
840
875
  "location": {
841
876
  "filePath": "webpack.main.runtime.ts",
842
877
  "line": 36,
843
- "character": 51
878
+ "character": 1
844
879
  },
845
- "members": [
846
- {
847
- "__schema": "VariableLikeSchema",
848
- "location": {
849
- "filePath": "webpack.main.runtime.ts",
850
- "line": 37,
851
- "character": 3
852
- },
853
- "signature": "(property) mode: BundlerMode",
854
- "name": "mode",
855
- "type": {
856
- "__schema": "TypeRefSchema",
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
- "name": "BundlerMode",
863
- "componentId": {
864
- "scope": "teambit.compilation",
865
- "name": "bundler"
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
- "isOptional": false
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
- "__schema": "VariableLikeSchema",
872
- "location": {
873
- "filePath": "webpack.main.runtime.ts",
874
- "line": 41,
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": 38,
1009
+ "line": 57,
882
1010
  "character": 3
883
1011
  },
884
- "raw": "/**\n * Whether the config is for an env template bundling\n */",
885
- "comment": "Whether the config is for an env template bundling"
886
- },
887
- "signature": "(property) isEnvTemplate?: boolean | undefined",
888
- "name": "isEnvTemplate",
889
- "type": {
890
- "__schema": "KeywordTypeSchema",
891
- "location": {
892
- "filePath": "webpack.main.runtime.ts",
893
- "line": 41,
894
- "character": 19
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
- "name": "boolean"
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
- "doc": {
908
- "__schema": "DocSchema",
1030
+ {
1031
+ "__schema": "ParameterSchema",
909
1032
  "location": {
910
1033
  "filePath": "webpack.main.runtime.ts",
911
- "line": 42,
1034
+ "line": 58,
912
1035
  "character": 3
913
1036
  },
914
- "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 */",
915
- "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"
916
- },
917
- "signature": "(property) hostRootDir?: string | undefined",
918
- "name": "hostRootDir",
919
- "type": {
920
- "__schema": "KeywordTypeSchema",
921
- "location": {
922
- "filePath": "webpack.main.runtime.ts",
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
- "name": "string"
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
- "isOptional": true
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": "TypeSchema",
1070
+ "__schema": "ExportSchema",
935
1071
  "location": {
936
- "filePath": "webpack.main.runtime.ts",
937
- "line": 56,
938
- "character": 1
1072
+ "filePath": "index.ts",
1073
+ "line": 9,
1074
+ "character": 10
939
1075
  },
940
- "signature": "type WebpackConfigDevServerTransformer = (config: WebpackConfigMutator, context: WebpackConfigDevServerTransformContext) => WebpackConfigMutator",
941
- "name": "WebpackConfigDevServerTransformer",
942
- "type": {
1076
+ "name": "runTransformersWithContext",
1077
+ "exportNode": {
943
1078
  "__schema": "FunctionLikeSchema",
944
1079
  "location": {
945
- "filePath": "webpack.main.runtime.ts",
946
- "line": 56,
947
- "character": 49
1080
+ "filePath": "run-transformer.ts",
1081
+ "line": 4,
1082
+ "character": 1
948
1083
  },
949
- "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",
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": "webpack.main.runtime.ts",
956
- "line": 57,
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": "webpack.main.runtime.ts",
964
- "line": 57,
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": "webpack.main.runtime.ts",
981
- "line": 58,
1115
+ "filePath": "run-transformer.ts",
1116
+ "line": 6,
982
1117
  "character": 3
983
1118
  },
984
- "name": "context",
1119
+ "name": "transformers",
985
1120
  "type": {
986
1121
  "__schema": "TypeRefSchema",
987
1122
  "location": {
988
- "filePath": "webpack.main.runtime.ts",
989
- "line": 58,
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": "WebpackConfigDevServerTransformContext"
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": "webpack.main.runtime.ts",
1002
- "line": 59,
1003
- "character": 6
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": "VariableLikeSchema",
1204
+ "__schema": "ExportSchema",
1142
1205
  "location": {
1143
- "filePath": "webpack.aspect.ts",
1144
- "line": 3,
1145
- "character": 14
1206
+ "filePath": "index.ts",
1207
+ "line": 10,
1208
+ "character": 10
1146
1209
  },
1147
- "signature": "const WebpackAspect: Aspect",
1148
1210
  "name": "WebpackAspect",
1149
- "type": {
1150
- "__schema": "TypeRefSchema",
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
- "name": "Aspect",
1157
- "componentId": {
1158
- "scope": "teambit.harmony",
1159
- "name": "harmony",
1160
- "version": "0.4.6"
1161
- }
1162
- },
1163
- "isOptional": false,
1164
- "defaultValue": "Aspect.create({\n id: 'teambit.webpack/webpack',\n})"
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": "ClassSchema",
1239
+ "__schema": "ExportSchema",
1168
1240
  "location": {
1169
- "filePath": "webpack.dev-server.ts",
1170
- "line": 14,
1171
- "character": 1
1241
+ "filePath": "index.ts",
1242
+ "line": 11,
1243
+ "character": 10
1172
1244
  },
1173
- "signature": "class WebpackDevServer",
1174
1245
  "name": "WebpackDevServer",
1175
- "members": [
1176
- {
1177
- "__schema": "ConstructorSchema",
1178
- "location": {
1179
- "filePath": "webpack.dev-server.ts",
1180
- "line": 16,
1181
- "character": 3
1182
- },
1183
- "signature": "constructor WebpackDevServer(config: WebpackConfigWithDevServer, webpack: typeof webpackCompiler, webpackDevServer: string | typeof WDS): WebpackDevServer",
1184
- "name": "constructor",
1185
- "params": [
1186
- {
1187
- "__schema": "ParameterSchema",
1188
- "location": {
1189
- "filePath": "webpack.dev-server.ts",
1190
- "line": 17,
1191
- "character": 5
1192
- },
1193
- "name": "config",
1194
- "type": {
1195
- "__schema": "TypeRefSchema",
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": 21
1271
+ "character": 5
1200
1272
  },
1201
- "name": "WebpackConfigWithDevServer"
1202
- },
1203
- "isOptional": false,
1204
- "isSpread": false
1205
- },
1206
- {
1207
- "__schema": "ParameterSchema",
1208
- "location": {
1209
- "filePath": "webpack.dev-server.ts",
1210
- "line": 18,
1211
- "character": 5
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
- "name": "webpack",
1214
- "type": {
1215
- "__schema": "TypeQuerySchema",
1286
+ {
1287
+ "__schema": "ParameterSchema",
1216
1288
  "location": {
1217
1289
  "filePath": "webpack.dev-server.ts",
1218
1290
  "line": 18,
1219
- "character": 22
1291
+ "character": 5
1220
1292
  },
1221
- "signature": "(alias) const webpackCompiler: {\n (options: Configuration, callback?: CallbackWebpack<Stats>): Compiler;\n (options: ReadonlyArray<Configuration> & MultiCompilerOptions, callback?: CallbackWebpack<MultiStats>): MultiCompiler;\n}\nimport webpackCompiler",
1293
+ "name": "webpack",
1222
1294
  "type": {
1223
- "__schema": "InferenceTypeSchema",
1295
+ "__schema": "TypeQuerySchema",
1224
1296
  "location": {
1225
1297
  "filePath": "webpack.dev-server.ts",
1226
1298
  "line": 18,
1227
- "character": 29
1299
+ "character": 22
1228
1300
  },
1229
- "name": "webpackCompiler",
1230
- "type": "webpackCompiler:"
1231
- }
1232
- },
1233
- "isOptional": false,
1234
- "isSpread": false
1235
- },
1236
- {
1237
- "__schema": "ParameterSchema",
1238
- "location": {
1239
- "filePath": "webpack.dev-server.ts",
1240
- "line": 23,
1241
- "character": 5
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
- "name": "webpackDevServer",
1244
- "type": {
1245
- "__schema": "TypeUnionSchema",
1316
+ {
1317
+ "__schema": "ParameterSchema",
1246
1318
  "location": {
1247
1319
  "filePath": "webpack.dev-server.ts",
1248
1320
  "line": 23,
1249
- "character": 31
1321
+ "character": 5
1250
1322
  },
1251
- "types": [
1252
- {
1253
- "__schema": "KeywordTypeSchema",
1254
- "location": {
1255
- "filePath": "webpack.dev-server.ts",
1256
- "line": 23,
1257
- "character": 31
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
- "__schema": "TypeQuerySchema",
1263
- "location": {
1264
- "filePath": "webpack.dev-server.ts",
1265
- "line": 23,
1266
- "character": 40
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
- "signature": "(alias) class WDS\n(alias) namespace WDS\nimport WDS",
1269
- "type": {
1270
- "__schema": "TypeRefSchema",
1341
+ {
1342
+ "__schema": "TypeQuerySchema",
1271
1343
  "location": {
1272
1344
  "filePath": "webpack.dev-server.ts",
1273
1345
  "line": 23,
1274
- "character": 47
1346
+ "character": 40
1275
1347
  },
1276
- "name": "WDS",
1277
- "packageName": "'webpack-dev-server'"
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
- "isOptional": false,
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
- "name": "WebpackDevServer"
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
- "signature": "(property) WebpackDevServer.id: string",
1305
- "name": "id",
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
- "type": "string"
1314
- },
1315
- "isOptional": true,
1316
- "defaultValue": "WebpackAspect.id"
1317
- },
1318
- {
1319
- "__schema": "VariableLikeSchema",
1320
- "location": {
1321
- "filePath": "webpack.dev-server.ts",
1322
- "line": 39,
1323
- "character": 3
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
- "signature": "(property) WebpackDevServer.displayName: string",
1326
- "name": "displayName",
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
- "type": "string"
1335
- },
1336
- "isOptional": true,
1337
- "defaultValue": "'Webpack dev server'"
1338
- },
1339
- {
1340
- "__schema": "FunctionLikeSchema",
1341
- "location": {
1342
- "filePath": "webpack.dev-server.ts",
1343
- "line": 41,
1344
- "character": 3
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
- "signature": "(method) WebpackDevServer.version(): string",
1347
- "name": "version",
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": 14
1424
+ "character": 3
1355
1425
  },
1356
- "name": "string"
1357
- },
1358
- "modifiers": []
1359
- },
1360
- {
1361
- "__schema": "FunctionLikeSchema",
1362
- "location": {
1363
- "filePath": "webpack.dev-server.ts",
1364
- "line": 57,
1365
- "character": 3
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
- "signature": "(method) WebpackDevServer.displayConfig(): string",
1368
- "name": "displayConfig",
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": 20
1445
+ "character": 3
1376
1446
  },
1377
- "name": "string"
1378
- },
1379
- "modifiers": []
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": 61,
1396
- "character": 16
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
- "isOptional": false,
1409
- "isSpread": false
1410
- }
1411
- ],
1412
- "returnType": {
1413
- "__schema": "TypeRefSchema",
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": 31
1466
+ "character": 3
1418
1467
  },
1419
- "name": "Promise",
1420
- "typeArgs": [
1468
+ "signature": "(method) WebpackDevServer.listen(port: number): Promise<Server>",
1469
+ "name": "listen",
1470
+ "params": [
1421
1471
  {
1422
- "__schema": "TypeRefSchema",
1472
+ "__schema": "ParameterSchema",
1423
1473
  "location": {
1424
1474
  "filePath": "webpack.dev-server.ts",
1425
1475
  "line": 61,
1426
- "character": 39
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
- "name": "Server",
1429
- "packageName": "http"
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
- "modifiers": [
1434
- "async"
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
- "componentId": {
1458
- "_legacy": {
1459
- "scope": "teambit.webpack",
1460
- "name": "webpack",
1461
- "version": "1.0.257"
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
- "_scope": "teambit.webpack"
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": "ClassSchema",
1551
+ "__schema": "ExportSchema",
1471
1552
  "location": {
1472
- "filePath": "webpack.bundler.ts",
1473
- "line": 10,
1474
- "character": 1
1553
+ "filePath": "index.ts",
1554
+ "line": 12,
1555
+ "character": 10
1475
1556
  },
1476
- "signature": "class WebpackBundler",
1477
1557
  "name": "WebpackBundler",
1478
- "members": [
1479
- {
1480
- "__schema": "ConstructorSchema",
1481
- "location": {
1482
- "filePath": "webpack.bundler.ts",
1483
- "line": 11,
1484
- "character": 3
1485
- },
1486
- "signature": "constructor WebpackBundler(targets: Target[], configs: Configuration[], logger: Logger, webpack: any, metaData?: BundlerContextMetaData | undefined): WebpackBundler",
1487
- "name": "constructor",
1488
- "params": [
1489
- {
1490
- "__schema": "ParameterSchema",
1491
- "location": {
1492
- "filePath": "webpack.bundler.ts",
1493
- "line": 15,
1494
- "character": 5
1495
- },
1496
- "name": "targets",
1497
- "type": {
1498
- "__schema": "TypeArraySchema",
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": 22
1583
+ "character": 5
1503
1584
  },
1585
+ "name": "targets",
1504
1586
  "type": {
1505
- "__schema": "TypeRefSchema",
1587
+ "__schema": "TypeArraySchema",
1506
1588
  "location": {
1507
1589
  "filePath": "webpack.bundler.ts",
1508
1590
  "line": 15,
1509
1591
  "character": 22
1510
1592
  },
1511
- "name": "Target",
1512
- "componentId": {
1513
- "scope": "teambit.compilation",
1514
- "name": "bundler"
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
- "isOptional": false,
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
- "name": "configs",
1529
- "type": {
1530
- "__schema": "TypeArraySchema",
1610
+ {
1611
+ "__schema": "ParameterSchema",
1531
1612
  "location": {
1532
1613
  "filePath": "webpack.bundler.ts",
1533
1614
  "line": 20,
1534
- "character": 22
1615
+ "character": 5
1535
1616
  },
1617
+ "name": "configs",
1536
1618
  "type": {
1537
- "__schema": "TypeRefSchema",
1619
+ "__schema": "TypeArraySchema",
1538
1620
  "location": {
1539
1621
  "filePath": "webpack.bundler.ts",
1540
1622
  "line": 20,
1541
1623
  "character": 22
1542
1624
  },
1543
- "name": "Configuration",
1544
- "packageName": "webpack"
1545
- }
1546
- },
1547
- "isOptional": false,
1548
- "isSpread": false
1549
- },
1550
- {
1551
- "__schema": "ParameterSchema",
1552
- "location": {
1553
- "filePath": "webpack.bundler.ts",
1554
- "line": 22,
1555
- "character": 5
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
- "name": "logger",
1558
- "type": {
1559
- "__schema": "TypeRefSchema",
1639
+ {
1640
+ "__schema": "ParameterSchema",
1560
1641
  "location": {
1561
1642
  "filePath": "webpack.bundler.ts",
1562
1643
  "line": 22,
1563
- "character": 21
1644
+ "character": 5
1564
1645
  },
1565
- "name": "Logger",
1566
- "componentId": {
1567
- "scope": "teambit.harmony",
1568
- "name": "logger"
1569
- }
1570
- },
1571
- "isOptional": false,
1572
- "isSpread": false
1573
- },
1574
- {
1575
- "__schema": "ParameterSchema",
1576
- "location": {
1577
- "filePath": "webpack.bundler.ts",
1578
- "line": 24,
1579
- "character": 5
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
- "name": "webpack",
1582
- "type": {
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
- "type": "any"
1590
- },
1591
- "isOptional": false,
1592
- "isSpread": false
1593
- },
1594
- {
1595
- "__schema": "ParameterSchema",
1596
- "location": {
1597
- "filePath": "webpack.bundler.ts",
1598
- "line": 26,
1599
- "character": 5
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
- "name": "metaData",
1602
- "type": {
1603
- "__schema": "TypeUnionSchema",
1683
+ {
1684
+ "__schema": "ParameterSchema",
1604
1685
  "location": {
1605
1686
  "filePath": "webpack.bundler.ts",
1606
1687
  "line": 26,
1607
- "character": 24
1688
+ "character": 5
1608
1689
  },
1609
- "types": [
1610
- {
1611
- "__schema": "TypeRefSchema",
1612
- "location": {
1613
- "filePath": "webpack.bundler.ts",
1614
- "line": 26,
1615
- "character": 24
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
- "__schema": "KeywordTypeSchema",
1625
- "location": {
1626
- "filePath": "webpack.bundler.ts",
1627
- "line": 26,
1628
- "character": 49
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
- "name": "undefined"
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
- "isOptional": true,
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
- "name": "WebpackBundler"
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
- "signature": "(method) WebpackBundler.run(): Promise<BundlerResult[]>",
1657
- "name": "run",
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": 16
1743
+ "character": 3
1665
1744
  },
1666
- "name": "Promise",
1667
- "typeArgs": [
1668
- {
1669
- "__schema": "TypeArraySchema",
1670
- "location": {
1671
- "filePath": "webpack.bundler.ts",
1672
- "line": 29,
1673
- "character": 24
1674
- },
1675
- "type": {
1676
- "__schema": "TypeRefSchema",
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
- "name": "BundlerResult",
1683
- "componentId": {
1684
- "scope": "teambit.compilation",
1685
- "name": "bundler"
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
- "modifiers": [
1692
- "async"
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
- "componentId": {
1716
- "_legacy": {
1717
- "scope": "teambit.webpack",
1718
- "name": "webpack",
1719
- "version": "1.0.257"
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
- "_scope": "teambit.webpack"
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": "InterfaceSchema",
1818
+ "__schema": "ExportSchema",
1729
1819
  "location": {
1730
- "filePath": "webpack.dev-server.ts",
1731
- "line": 10,
1732
- "character": 1
1820
+ "filePath": "index.ts",
1821
+ "line": 13,
1822
+ "character": 15
1733
1823
  },
1734
- "signature": "interface WebpackConfigWithDevServer",
1735
1824
  "name": "WebpackConfigWithDevServer",
1736
- "members": [
1737
- {
1738
- "__schema": "VariableLikeSchema",
1739
- "location": {
1740
- "filePath": "webpack.dev-server.ts",
1741
- "line": 11,
1742
- "character": 3
1743
- },
1744
- "signature": "(property) WebpackConfigWithDevServer.devServer: WDS.Configuration",
1745
- "name": "devServer",
1746
- "type": {
1747
- "__schema": "TypeRefSchema",
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": 14
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
- "name": "WDS.Configuration"
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
- "signature": "(property) WebpackConfigWithDevServer.favicon?: string | undefined",
1765
- "name": "favicon",
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": 13
1860
+ "character": 3
1772
1861
  },
1773
- "name": "string"
1774
- },
1775
- "isOptional": true
1776
- }
1777
- ],
1778
- "extendsNodes": [
1779
- {
1780
- "__schema": "ExpressionWithTypeArgumentsSchema",
1781
- "location": {
1782
- "filePath": "webpack.dev-server.ts",
1783
- "line": 10,
1784
- "character": 53
1785
- },
1786
- "name": "extends Configuration",
1787
- "typeArgs": [],
1788
- "expression": {
1789
- "__schema": "TypeRefSchema",
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
- "componentId": {
1797
- "_legacy": {
1798
- "scope": "teambit.webpack",
1799
- "name": "webpack",
1800
- "version": "1.0.257"
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
- "_scope": "teambit.webpack"
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.257"
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.257"
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": "TypeRefSchema",
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
- "packageName": "webpack"
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": "TypeRefSchema",
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
- "componentId": {
2121
- "scope": "teambit.webpack",
2122
- "name": "modules/config-mutator",
2123
- "version": "0.0.166"
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": "ClassSchema",
2244
+ "__schema": "ExportSchema",
2128
2245
  "location": {
2129
- "filePath": "plugins/webpack-bit-reporter-plugin.ts",
2130
- "line": 10,
2131
- "character": 1
2246
+ "filePath": "index.ts",
2247
+ "line": 17,
2248
+ "character": 10
2132
2249
  },
2133
- "doc": {
2134
- "__schema": "DocSchema",
2250
+ "name": "WebpackBitReporterPlugin",
2251
+ "exportNode": {
2252
+ "__schema": "ClassSchema",
2135
2253
  "location": {
2136
2254
  "filePath": "plugins/webpack-bit-reporter-plugin.ts",
2137
- "line": 7,
2255
+ "line": 10,
2138
2256
  "character": 1
2139
2257
  },
2140
- "raw": "/**\n * Monitors Webpack's compilation, and updates progress to Bit\n */",
2141
- "comment": "Monitors Webpack's compilation, and updates progress to Bit"
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": 12,
2151
- "character": 3
2262
+ "line": 7,
2263
+ "character": 1
2152
2264
  },
2153
- "signature": "(property) WebpackBitReporterPlugin.pubsub: any",
2154
- "name": "pubsub",
2155
- "type": {
2156
- "__schema": "KeywordTypeSchema",
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": 11
2276
+ "character": 3
2161
2277
  },
2162
- "name": "any"
2163
- },
2164
- "isOptional": false
2165
- },
2166
- {
2167
- "__schema": "VariableLikeSchema",
2168
- "location": {
2169
- "filePath": "plugins/webpack-bit-reporter-plugin.ts",
2170
- "line": 13,
2171
- "character": 3
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
- "signature": "(property) WebpackBitReporterPlugin.devServerID: string",
2174
- "name": "devServerID",
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": 16
2296
+ "character": 3
2181
2297
  },
2182
- "name": "string"
2183
- },
2184
- "isOptional": false
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": 15,
2201
- "character": 15
2304
+ "line": 13,
2305
+ "character": 16
2202
2306
  },
2203
- "name": "{ options }",
2204
- "type": {
2205
- "__schema": "TypeLiteralSchema",
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
- "members": [
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": 15
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
- "isOptional": false,
2225
- "objectBindingNodes": [
2226
- {
2227
- "__schema": "InferenceTypeSchema",
2228
- "location": {
2229
- "filePath": "plugins/webpack-bit-reporter-plugin.ts",
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": 10,
2246
- "character": 1
2381
+ "line": 20,
2382
+ "character": 3
2247
2383
  },
2248
- "name": "WebpackBitReporterPlugin"
2249
- },
2250
- "modifiers": []
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": 19
2392
+ "character": 9
2276
2393
  },
2277
- "types": [
2278
- {
2279
- "__schema": "TypeRefSchema",
2280
- "location": {
2281
- "filePath": "plugins/webpack-bit-reporter-plugin.ts",
2282
- "line": 20,
2283
- "character": 19
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
- "__schema": "KeywordTypeSchema",
2290
- "location": {
2291
- "filePath": "plugins/webpack-bit-reporter-plugin.ts",
2292
- "line": 20,
2293
- "character": 30
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
- "name": "any"
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
- "isOptional": false,
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
- "type": "void"
2311
- },
2312
- "modifiers": []
2313
- }
2314
- ],
2315
- "extendsNodes": [],
2316
- "implementNodes": []
2437
+ "modifiers": []
2438
+ }
2439
+ ],
2440
+ "extendsNodes": [],
2441
+ "implementNodes": []
2442
+ }
2317
2443
  },
2318
2444
  {
2319
- "__schema": "VariableLikeSchema",
2445
+ "__schema": "ExportSchema",
2320
2446
  "location": {
2321
- "filePath": "config/webpack-fallbacks.ts",
2322
- "line": 29,
2323
- "character": 14
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
- "type": {
2328
- "__schema": "InferenceTypeSchema",
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
- "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}"
2335
- },
2336
- "isOptional": false,
2337
- "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"
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": "VariableLikeSchema",
2475
+ "__schema": "ExportSchema",
2341
2476
  "location": {
2342
- "filePath": "config/webpack-fallbacks-aliases.ts",
2343
- "line": 1,
2344
- "character": 14
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
- "type": {
2349
- "__schema": "InferenceTypeSchema",
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
- "type": "{\n process: string;\n buffer: string;\n}"
2356
- },
2357
- "isOptional": false,
2358
- "defaultValue": "{\n process: require.resolve('process/browser'),\n buffer: require.resolve('buffer/'),\n}"
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": "VariableLikeSchema",
2505
+ "__schema": "ExportSchema",
2362
2506
  "location": {
2363
- "filePath": "config/webpack-fallbacks-provide-plugin-config.ts",
2364
- "line": 1,
2365
- "character": 14
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
- "type": {
2370
- "__schema": "InferenceTypeSchema",
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
- "type": "{\n process: string;\n Buffer: string[];\n}"
2377
- },
2378
- "isOptional": false,
2379
- "defaultValue": "{\n process: require.resolve('process/browser'),\n Buffer: [require.resolve('buffer/'), 'Buffer'],\n}"
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": "FunctionLikeSchema",
2535
+ "__schema": "ExportSchema",
2383
2536
  "location": {
2384
- "filePath": "transformers/inject-body.ts",
2385
- "line": 17,
2386
- "character": 1
2537
+ "filePath": "index.ts",
2538
+ "line": 22,
2539
+ "character": 3
2387
2540
  },
2388
- "doc": {
2389
- "__schema": "DocSchema",
2541
+ "name": "GenerateBodyInjectionTransformer",
2542
+ "exportNode": {
2543
+ "__schema": "FunctionLikeSchema",
2390
2544
  "location": {
2391
2545
  "filePath": "transformers/inject-body.ts",
2392
- "line": 9,
2546
+ "line": 17,
2393
2547
  "character": 1
2394
2548
  },
2395
- "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 */",
2396
- "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",
2397
- "tags": [
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": "PropertyLikeTagSchema",
2584
+ "__schema": "ParameterSchema",
2400
2585
  "location": {
2401
2586
  "filePath": "transformers/inject-body.ts",
2402
- "line": 14,
2403
- "character": 4
2587
+ "line": 17,
2588
+ "character": 50
2404
2589
  },
2405
2590
  "name": "options",
2406
- "tagName": "parameter"
2407
- },
2408
- {
2409
- "__schema": "ReturnTagSchema",
2410
- "location": {
2411
- "filePath": "transformers/inject-body.ts",
2412
- "line": 15,
2413
- "character": 4
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
- "tagName": "return"
2600
+ "isOptional": false,
2601
+ "isSpread": false
2416
2602
  }
2417
- ]
2418
- },
2419
- "signature": "function GenerateBodyInjectionTransformer(options: BodyInjectionOptions): WebpackConfigTransformer",
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": 50
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
- "isOptional": false,
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
- "name": "WebpackConfigTransformer"
2451
- },
2452
- "modifiers": [
2453
- "export"
2454
- ]
2613
+ "modifiers": [
2614
+ "export"
2615
+ ]
2616
+ }
2455
2617
  },
2456
2618
  {
2457
- "__schema": "TypeSchema",
2619
+ "__schema": "ExportSchema",
2458
2620
  "location": {
2459
- "filePath": "transformers/inject-body.ts",
2460
- "line": 4,
2461
- "character": 1
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
- "type": {
2466
- "__schema": "TypeLiteralSchema",
2626
+ "exportNode": {
2627
+ "__schema": "TypeSchema",
2467
2628
  "location": {
2468
2629
  "filePath": "transformers/inject-body.ts",
2469
2630
  "line": 4,
2470
- "character": 36
2631
+ "character": 1
2471
2632
  },
2472
- "members": [
2473
- {
2474
- "__schema": "VariableLikeSchema",
2475
- "location": {
2476
- "filePath": "transformers/inject-body.ts",
2477
- "line": 5,
2478
- "character": 3
2479
- },
2480
- "signature": "(property) content: string",
2481
- "name": "content",
2482
- "type": {
2483
- "__schema": "KeywordTypeSchema",
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": 12
2648
+ "character": 3
2488
2649
  },
2489
- "name": "string"
2490
- },
2491
- "isOptional": false
2492
- },
2493
- {
2494
- "__schema": "VariableLikeSchema",
2495
- "location": {
2496
- "filePath": "transformers/inject-body.ts",
2497
- "line": 6,
2498
- "character": 3
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
- "signature": "(property) position?: \"end\" | \"start\" | undefined",
2501
- "name": "position",
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": 14
2668
+ "character": 3
2508
2669
  },
2509
- "types": [
2510
- {
2511
- "__schema": "LiteralTypeSchema",
2512
- "location": {
2513
- "filePath": "transformers/inject-body.ts",
2514
- "line": 6,
2515
- "character": 14
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
- "__schema": "LiteralTypeSchema",
2521
- "location": {
2522
- "filePath": "transformers/inject-body.ts",
2523
- "line": 6,
2524
- "character": 24
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
- "name": "'end'"
2527
- }
2528
- ]
2529
- },
2530
- "isOptional": true
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": "FunctionLikeSchema",
2707
+ "__schema": "ExportSchema",
2537
2708
  "location": {
2538
- "filePath": "transformers/transformers.ts",
2539
- "line": 8,
2540
- "character": 1
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
- "params": [
2545
- {
2546
- "__schema": "ParameterSchema",
2547
- "location": {
2548
- "filePath": "transformers/transformers.ts",
2549
- "line": 8,
2550
- "character": 56
2551
- },
2552
- "name": "peers",
2553
- "type": {
2554
- "__schema": "TypeArraySchema",
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": 63
2729
+ "character": 56
2559
2730
  },
2731
+ "name": "peers",
2560
2732
  "type": {
2561
- "__schema": "KeywordTypeSchema",
2733
+ "__schema": "TypeArraySchema",
2562
2734
  "location": {
2563
2735
  "filePath": "transformers/transformers.ts",
2564
2736
  "line": 8,
2565
2737
  "character": 63
2566
2738
  },
2567
- "name": "string"
2568
- }
2569
- },
2570
- "isOptional": false,
2571
- "isSpread": false
2572
- },
2573
- {
2574
- "__schema": "ParameterSchema",
2575
- "location": {
2576
- "filePath": "transformers/transformers.ts",
2577
- "line": 8,
2578
- "character": 73
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
- "name": "logger",
2581
- "type": {
2582
- "__schema": "TypeRefSchema",
2752
+ {
2753
+ "__schema": "ParameterSchema",
2583
2754
  "location": {
2584
2755
  "filePath": "transformers/transformers.ts",
2585
2756
  "line": 8,
2586
- "character": 81
2757
+ "character": 73
2587
2758
  },
2588
- "name": "Logger",
2589
- "componentId": {
2590
- "scope": "teambit.harmony",
2591
- "name": "logger"
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
- "isOptional": false,
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
- "type": "(config: WebpackConfigMutator, context: WebpackConfigTransformContext) => WebpackConfigMutator"
2606
- },
2607
- "modifiers": [
2608
- "export"
2609
- ]
2786
+ "modifiers": [
2787
+ "export"
2788
+ ]
2789
+ }
2610
2790
  },
2611
2791
  {
2612
- "__schema": "FunctionLikeSchema",
2792
+ "__schema": "ExportSchema",
2613
2793
  "location": {
2614
- "filePath": "transformers/transformers.ts",
2615
- "line": 42,
2616
- "character": 1
2794
+ "filePath": "index.ts",
2795
+ "line": 25,
2796
+ "character": 3
2617
2797
  },
2618
- "doc": {
2619
- "__schema": "DocSchema",
2798
+ "name": "generateExposePeersTransformer",
2799
+ "exportNode": {
2800
+ "__schema": "FunctionLikeSchema",
2620
2801
  "location": {
2621
2802
  "filePath": "transformers/transformers.ts",
2622
- "line": 37,
2803
+ "line": 42,
2623
2804
  "character": 1
2624
2805
  },
2625
- "raw": "/**\n * Generate a transformer that expose all the peers as global via the expose loader\n * @param peers\n * @returns\n */",
2626
- "comment": "Generate a transformer that expose all the peers as global via the expose loader",
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": 42,
2657
- "character": 48
2810
+ "line": 37,
2811
+ "character": 1
2658
2812
  },
2659
- "name": "peers",
2660
- "type": {
2661
- "__schema": "TypeArraySchema",
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": 55
2845
+ "character": 48
2666
2846
  },
2847
+ "name": "peers",
2667
2848
  "type": {
2668
- "__schema": "KeywordTypeSchema",
2849
+ "__schema": "TypeArraySchema",
2669
2850
  "location": {
2670
2851
  "filePath": "transformers/transformers.ts",
2671
2852
  "line": 42,
2672
2853
  "character": 55
2673
2854
  },
2674
- "name": "string"
2675
- }
2676
- },
2677
- "isOptional": false,
2678
- "isSpread": false
2679
- },
2680
- {
2681
- "__schema": "ParameterSchema",
2682
- "location": {
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
- "name": "Logger",
2696
- "componentId": {
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": "PropertyLikeTagSchema",
2869
+ "__schema": "ParameterSchema",
2737
2870
  "location": {
2738
2871
  "filePath": "transformers/transformers.ts",
2739
- "line": 53,
2740
- "character": 4
2872
+ "line": 42,
2873
+ "character": 65
2741
2874
  },
2742
- "name": "peers",
2743
- "tagName": "parameter"
2744
- },
2745
- {
2746
- "__schema": "ReturnTagSchema",
2747
- "location": {
2748
- "filePath": "transformers/transformers.ts",
2749
- "line": 54,
2750
- "character": 4
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
- "tagName": "return"
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
- "params": [
2759
- {
2760
- "__schema": "ParameterSchema",
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": 56,
2764
- "character": 46
2926
+ "line": 51,
2927
+ "character": 1
2765
2928
  },
2766
- "name": "depes",
2767
- "type": {
2768
- "__schema": "TypeArraySchema",
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": 53
2961
+ "character": 46
2773
2962
  },
2963
+ "name": "depes",
2774
2964
  "type": {
2775
- "__schema": "KeywordTypeSchema",
2965
+ "__schema": "TypeArraySchema",
2776
2966
  "location": {
2777
2967
  "filePath": "transformers/transformers.ts",
2778
2968
  "line": 56,
2779
2969
  "character": 53
2780
2970
  },
2781
- "name": "string"
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
- "isOptional": false,
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
- "type": "(config: WebpackConfigMutator) => WebpackConfigMutator"
2796
- },
2797
- "modifiers": [
2798
- "export"
2799
- ]
2994
+ "modifiers": [
2995
+ "export"
2996
+ ]
2997
+ }
2800
2998
  },
2801
2999
  {
2802
- "__schema": "FunctionLikeSchema",
3000
+ "__schema": "ExportSchema",
2803
3001
  "location": {
2804
- "filePath": "transformers/inject-head.ts",
2805
- "line": 17,
2806
- "character": 1
3002
+ "filePath": "index.ts",
3003
+ "line": 27,
3004
+ "character": 3
2807
3005
  },
2808
- "doc": {
2809
- "__schema": "DocSchema",
3006
+ "name": "GenerateHeadInjectionTransformer",
3007
+ "exportNode": {
3008
+ "__schema": "FunctionLikeSchema",
2810
3009
  "location": {
2811
3010
  "filePath": "transformers/inject-head.ts",
2812
- "line": 9,
3011
+ "line": 17,
2813
3012
  "character": 1
2814
3013
  },
2815
- "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 */",
2816
- "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",
2817
- "tags": [
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": "PropertyLikeTagSchema",
3049
+ "__schema": "ParameterSchema",
2820
3050
  "location": {
2821
3051
  "filePath": "transformers/inject-head.ts",
2822
- "line": 14,
2823
- "character": 4
3052
+ "line": 17,
3053
+ "character": 50
2824
3054
  },
2825
3055
  "name": "options",
2826
- "tagName": "parameter"
2827
- },
2828
- {
2829
- "__schema": "ReturnTagSchema",
2830
- "location": {
2831
- "filePath": "transformers/inject-head.ts",
2832
- "line": 15,
2833
- "character": 4
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
- "tagName": "return"
3065
+ "isOptional": false,
3066
+ "isSpread": false
2836
3067
  }
2837
- ]
2838
- },
2839
- "signature": "function GenerateHeadInjectionTransformer(options: HeadInjectionOptions): WebpackConfigTransformer",
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": 50
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
- "isOptional": false,
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
- "name": "WebpackConfigTransformer"
2871
- },
2872
- "modifiers": [
2873
- "export"
2874
- ]
3078
+ "modifiers": [
3079
+ "export"
3080
+ ]
3081
+ }
2875
3082
  },
2876
3083
  {
2877
- "__schema": "TypeSchema",
3084
+ "__schema": "ExportSchema",
2878
3085
  "location": {
2879
- "filePath": "transformers/inject-head.ts",
2880
- "line": 4,
2881
- "character": 1
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
- "type": {
2886
- "__schema": "TypeLiteralSchema",
3091
+ "exportNode": {
3092
+ "__schema": "TypeSchema",
2887
3093
  "location": {
2888
3094
  "filePath": "transformers/inject-head.ts",
2889
3095
  "line": 4,
2890
- "character": 36
3096
+ "character": 1
2891
3097
  },
2892
- "members": [
2893
- {
2894
- "__schema": "VariableLikeSchema",
2895
- "location": {
2896
- "filePath": "transformers/inject-head.ts",
2897
- "line": 5,
2898
- "character": 3
2899
- },
2900
- "signature": "(property) content: string",
2901
- "name": "content",
2902
- "type": {
2903
- "__schema": "KeywordTypeSchema",
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": 12
3113
+ "character": 3
2908
3114
  },
2909
- "name": "string"
2910
- },
2911
- "isOptional": false
2912
- },
2913
- {
2914
- "__schema": "VariableLikeSchema",
2915
- "location": {
2916
- "filePath": "transformers/inject-head.ts",
2917
- "line": 6,
2918
- "character": 3
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
- "signature": "(property) position?: \"end\" | \"start\" | undefined",
2921
- "name": "position",
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": 14
3133
+ "character": 3
2928
3134
  },
2929
- "types": [
2930
- {
2931
- "__schema": "LiteralTypeSchema",
2932
- "location": {
2933
- "filePath": "transformers/inject-head.ts",
2934
- "line": 6,
2935
- "character": 14
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
- "__schema": "LiteralTypeSchema",
2941
- "location": {
2942
- "filePath": "transformers/inject-head.ts",
2943
- "line": 6,
2944
- "character": 24
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
- "name": "'end'"
2947
- }
2948
- ]
2949
- },
2950
- "isOptional": true
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.257"
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.257"
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.257"
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.257"
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.257"
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.257"
5911
+ "version": "1.0.259"
5696
5912
  },
5697
5913
  "taggedModuleExports": []
5698
5914
  }