Skip to content

Commit 3ee012a

Browse files
committed
build(bazel): swc_plugin_runner
1 parent 26a94eb commit 3ee012a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

crates/swc_plugin_runner/BUILD.bazel

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
load("@swc_cargo_workspace_index//:defs.bzl", "crate_deps")
2+
load("@rules_rust//rust:defs.bzl", "rust_library")
3+
4+
package(default_visibility = ["//visibility:public"])
5+
6+
rust_library(
7+
name = "swc_plugin_runner_filesystem_cache",
8+
srcs = glob(["src/**/*.rs"]),
9+
crate_features = ["filesystem_cache"],
10+
deps = [
11+
"//crates/swc_common:swc_common_concurrent",
12+
"//crates/swc_ecma_ast",
13+
"//crates/swc_plugin_proxy",
14+
] + crate_deps([
15+
"anyhow",
16+
"enumset",
17+
"once_cell",
18+
"parking_lot",
19+
"serde",
20+
"serde_json",
21+
"tracing",
22+
"wasmer",
23+
"wasmer-wasi",
24+
"wasmer-cache",
25+
"wasmer-compiler-cranelift",
26+
"wasmer-engine-universal",
27+
]),
28+
)
29+
30+
# [BAZELTODO]
31+
# rust_test()

0 commit comments

Comments
 (0)