|
345 | 345 | "id": "/properties/markupProcessor/properties/source",
|
346 | 346 | "type": ["string", "array"],
|
347 | 347 | "title": "Markup source",
|
348 |
| - "description": "A glob pattern (or array of glob patterns) to the markup sources" |
| 348 | + "description": "A glob pattern (or array of glob patterns) to the markup sources. In case of Webpack this can be an empty string." |
349 | 349 | }
|
350 | 350 | },
|
351 | 351 | "type": "object",
|
|
397 | 397 | "type": "string",
|
398 | 398 | "title": "Output",
|
399 | 399 | "description": "A folder relative from project root where the bundles will be created"
|
| 400 | + }, |
| 401 | + "hmr": { |
| 402 | + "id": "/properties/platform/properties/hmr", |
| 403 | + "type": "boolean", |
| 404 | + "default": false, |
| 405 | + "title": "(ONLY WP) Hot Module Reloading", |
| 406 | + "description": "ONLY FOR WEBPACK. Define whether hot module reloading should be used with the dev server" |
| 407 | + }, |
| 408 | + "port": { |
| 409 | + "id": "/properties/platform/properties/port", |
| 410 | + "type": "integer", |
| 411 | + "default": 8080, |
| 412 | + "title": "(ONLY WP) Dev Server Port", |
| 413 | + "description": "ONLY FOR WEBPACK. Define the default port to be used for the dev server" |
| 414 | + }, |
| 415 | + "open": { |
| 416 | + "id": "/properties/platform/properties/port", |
| 417 | + "type": "boolean", |
| 418 | + "default": false, |
| 419 | + "title": "(ONLY WP) Auto open default browser", |
| 420 | + "description": "ONLY FOR WEBPACK. Should the default browser be opened automatically" |
400 | 421 | }
|
401 | 422 | },
|
402 | 423 | "type": "object",
|
|
459 | 480 | "id": "/properties/transpiler/properties/source",
|
460 | 481 | "type": ["string", "array"],
|
461 | 482 | "title": "Transpiler sources",
|
462 |
| - "description": "A glob pattern (or array of glob patterns) for the sources processed by the transpiler" |
| 483 | + "description": "A glob pattern (or array of glob patterns) for the sources processed by the transpiler. In case of Webpack this can be an empty string" |
463 | 484 | },
|
464 | 485 | "options": {
|
465 | 486 | "id": "/properties/transpiler/properties/options",
|
|
484 | 505 | "properties": {
|
485 | 506 | "displayName": {
|
486 | 507 | "id": "/properties/unitTestRunner/properties/displayName",
|
487 |
| - "type": "string" |
| 508 | + "type": "string", |
| 509 | + "title": "Display name", |
| 510 | + "description": "The name of the configured testrunner" |
488 | 511 | },
|
489 | 512 | "id": {
|
490 | 513 | "id": "/properties/unitTestRunner/properties/id",
|
491 |
| - "type": "string" |
| 514 | + "type": "string", |
| 515 | + "title": "Testrunner Id", |
| 516 | + "description": "The id of the configured testrunner" |
492 | 517 | },
|
493 | 518 | "source": {
|
494 | 519 | "id": "/properties/unitTestRunner/properties/source",
|
495 | 520 | "type": "string",
|
496 | 521 | "title": "Test source files",
|
497 |
| - "description": "Pointing to the spec files of your application", |
| 522 | + "description": "Pointing to the spec files of your application. Can be empty for Webpack", |
498 | 523 | "default": "test/unit/**/*.js"
|
499 | 524 | }
|
500 | 525 | },
|
501 |
| - "type": "object", |
| 526 | + "type": ["object", "array"], |
502 | 527 | "title": "Test runner",
|
503 |
| - "description": "The testrunner used for your application", |
| 528 | + "description": "The testrunner used for your application. In case of Webpack this should be an array of testrunner configurations", |
504 | 529 | "required": ["displayName", "id", "source"]
|
505 | 530 | }
|
506 | 531 | },
|
|
0 commit comments