Compare commits

...

3 Commits

Author SHA1 Message Date
Greg Johnston
45c285d9ee v0.1.2 2025-07-26 14:06:13 -04:00
Greg Johnston
7d60eb1b60 v0.1.2 2025-07-26 14:04:55 -04:00
Greg Johnston
6b200b6224 fix: support file hashing when using lazy loading 2025-07-26 10:43:23 -04:00
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -4348,7 +4348,7 @@ dependencies = [
[[package]]
name = "wasm_split_macros"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"base16",
"digest",

View File

@@ -1,6 +1,6 @@
[package]
name = "wasm_split_macros"
version = "0.1.1"
version = "0.1.2"
authors = ["Greg Johnston"]
license = "MIT"
readme = "README.md"

View File

@@ -136,7 +136,7 @@ pub fn wasm_split(args: TokenStream, input: TokenStream) -> TokenStream {
static #split_loader_ident: ::leptos::wasm_split_helpers::LazySplitLoader = ::leptos::wasm_split_helpers::LazySplitLoader::new(#load_module_ident);
}
#[link(wasm_import_module = "/pkg/__wasm_split.js")]
#[link(wasm_import_module = "/pkg/__wasm_split.______________________.js")]
extern "C" {
#[no_mangle]
fn #load_module_ident (callback: unsafe extern "C" fn(*const ::std::ffi::c_void, bool), data: *const ::std::ffi::c_void) -> ();