Fixed js build

This commit is contained in:
ptitSeb
2022-09-01 17:39:18 +02:00
parent 3528555869
commit cc9fb4693d

View File

@@ -241,7 +241,7 @@ impl Module {
type_hints,
name,
#[cfg(feature = "js-serializable-module")]
raw_bytes: Some(binary),
raw_bytes: Some(binary.into_bytes()),
})
}