Skip to content

Commit

Permalink
use
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jan 24, 2024
1 parent 3c99356 commit 50ca195
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/binding_macros/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use once_cell::sync::Lazy;
#[doc(hidden)]
pub use serde_wasm_bindgen;
use serde_wasm_bindgen::Serializer;
use swc::{config::ErrorFormat, Compiler, HandlerOpts};
use swc::{config::ErrorFormat, Compiler, HandlerOpts, PrintArgs};
#[doc(hidden)]
pub use swc::{
config::{Options, ParseOptions, SourceMapsConfig},
Expand Down Expand Up @@ -149,6 +149,7 @@ macro_rules! build_parse_sync {
pub fn parse_sync(s: $crate::wasm::js_sys::JsString, opts: $crate::wasm::JsValue) -> Result<$crate::wasm::JsValue, $crate::wasm::JsValue> {
use serde::Serialize;
use $crate::wasm::VisitMutWith;
use $crate::wasm::PrintArgs;

let c = $crate::wasm::compiler();

Expand Down

0 comments on commit 50ca195

Please sign in to comment.