* @deprecated * @returns {boolean} true when optional, otherwise false
()
| 507 | * @returns {boolean} true when optional, otherwise false |
| 508 | */ |
| 509 | get optional() { |
| 510 | return this.isOptional( |
| 511 | ModuleGraph.getModuleGraphForModule( |
| 512 | this, |
| 513 | "Module.optional", |
| 514 | "DEP_WEBPACK_MODULE_OPTIONAL" |
| 515 | ) |
| 516 | ); |
| 517 | } |
| 518 | |
| 519 | /** |
| 520 | * Adds the provided chunk to the module. |
nothing calls this directly
no test coverage detected