fix dup esbuild download

This commit is contained in:
Jonathan Kelley committed 2026-03-26 17:12:12 -07:00
1 parent 364fbc2207
commit 5a8d5afb64
1 file changed
+3 -3
+3 -3
View File
@@ -5725,9 +5725,6 @@ __wbg_init({{module_or_path: "/{}/{wasm_path}"}}).then((wasm) => {{
self.verify_toolchain_installed().await?;
// esbuild is used for JS asset processing on all platforms
let _esbuild_path = crate::esbuild::Esbuild::get_or_install().await?;
match self.bundle {
BundleFormat::Web => self.verify_web_tooling().await?,
BundleFormat::Ios => self.verify_ios_tooling().await?,
@@ -5802,6 +5799,9 @@ __wbg_init({{module_or_path: "/{}/{wasm_path}"}}).then((wasm) => {{
WasmBindgen::verify_install(&krate_bindgen_version).await?;
// esbuild is used for JS asset processing
let _esbuild_path = crate::esbuild::Esbuild::get_or_install().await?;
Ok(())
}