feat(plugin/api): Expose swc_ecma_utils (#4256)

This commit is contained in:
Victor Sumner 2022-04-06 00:43:32 -04:00 committed by GitHub
parent 262f5436a8
commit 7bc04a6791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

1
Cargo.lock generated
View File

@ -3852,6 +3852,7 @@ dependencies = [
"swc_common",
"swc_ecma_ast",
"swc_ecma_quote",
"swc_ecma_utils",
"swc_ecma_visit",
"swc_plugin_comments",
"swc_plugin_macro",

View File

@ -28,6 +28,7 @@ swc_ecma_ast = { version = "0.75.0", path = "../swc_ecma_ast", features = [
] }
swc_ecma_quote = { version = "0.11.0", path = "../swc_ecma_quote", optional = true }
swc_ecma_visit = { version = "0.61.0", path = "../swc_ecma_visit" }
swc_ecma_utils = { version = "0.79.0", path = "../swc_ecma_utils" }
swc_plugin_comments = { version = "0.1.1", path = "../swc_plugin_comments", features = [
"plugin-mode",
] }

View File

@ -18,6 +18,10 @@ pub mod util {
pub use swc_ecma_quote::*;
}
pub mod utils {
pub use swc_ecma_utils::*;
}
pub mod ast {
pub use swc_atoms::*;
pub use swc_ecma_ast::*;