mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[build/canvas] Fix runtime generation (#137972)
This fixes an issue with the CI stats plugin using `tapAsync` instead of `tapPromise`. It appears that if callback() is not called in `tapAsync`, the entrypoint is not written to disk. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
88eae3ef40
commit
af58ee866d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export class CiStatsPlugin {
|
|||
return;
|
||||
}
|
||||
|
||||
compiler.hooks.emit.tapAsync('CiStatsPlugin', async (compilation) => {
|
||||
compiler.hooks.emit.tapPromise('CiStatsPlugin', async (compilation) => {
|
||||
const { entryName } = this.options;
|
||||
|
||||
const assets = Object.entries(compilation.assets)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue