1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
extern crate dprint_core;

pub mod configuration;
mod parsing;
mod formatter;
mod swc;
mod utils;
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
mod wasm_plugin;

pub use formatter::Formatter;

#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
pub use wasm_plugin::*;

// Re-export swc for use in Deno
#[doc(hidden)]
pub use swc_common;
#[doc(hidden)]
pub use swc_ecma_ast;
#[doc(hidden)]
pub use swc_ecma_parser;