* Initializes bundling process and executes all required tasks. * * @returns {Promise } - path of the generated bundle
()
| 89 | * @returns {Promise<string>} - path of the generated bundle |
| 90 | */ |
| 91 | async initBundle() { |
| 92 | try { |
| 93 | const result = await async.series({ |
| 94 | validate: this._validateTheme.bind(this), |
| 95 | bundle: this._bundleTaskRunner.bind(this), |
| 96 | }); |
| 97 | return result.bundle; |
| 98 | } catch (err) { |
| 99 | const errorMessage = err.message ? err.message : String(err); |
| 100 | console.error('failed -- '.red + errorMessage.red); |
| 101 | throw err; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | getCssAssembleTask(compiler) { |
| 106 | const assembleOptions = { |
no outgoing calls
no test coverage detected