diff --git a/web/benchmark-core/build.gradle.kts b/web/benchmark-core/build.gradle.kts index a680eb117c..e714c1067a 100644 --- a/web/benchmark-core/build.gradle.kts +++ b/web/benchmark-core/build.gradle.kts @@ -42,6 +42,7 @@ kotlin { } val printBundleSize by tasks.registering { + dependsOn(tasks.named("jsBrowserDistribution")) doLast { val jsFile = buildDir.resolve("distributions/web-benchmark-core.js") val size = jsFile.length()