mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
build(es/plugin): Fix Wasm build (#6181)
This commit is contained in:
parent
c24c56cb57
commit
d13a397360
@ -15,6 +15,7 @@ use swc_common::{
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
use wasmer::{BaseTunables, CpuFeature, Engine, Target, Triple};
|
||||
use wasmer::{Module, Store};
|
||||
#[cfg(all(not(target_arch = "wasm32"), feature = "filesystem_cache"))]
|
||||
use wasmer_cache::{Cache as WasmerCache, FileSystemCache, Hash};
|
||||
|
||||
#[cfg(all(not(feature = "filesystem_cache"), not(feature = "memory_cache")))]
|
||||
|
Loading…
Reference in New Issue
Block a user