v0.21.2
Pre-release
Pre-release
Using Bzlmod with Bazel 6:
Add to your MODULE.bazel
file:
bazel_dep(name = "aspect_rules_swc", version = "0.21.2")
Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_swc",
sha256 = "decabe9351859bc36f0b8952bab977ecbf976b59a6bc4c28f5b8624c1fd1e3a8",
strip_prefix = "rules_swc-0.21.2",
url = "https://github.com/aspect-build/rules_swc/archive/refs/tags/v0.21.2.tar.gz",
)
###################
# rules_swc setup #
###################
# Fetches the rules_swc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@aspect_rules_swc//swc:dependencies.bzl", "rules_swc_dependencies")
rules_swc_dependencies()
# Fetches a SWC cli from
# https://github.com/swc-project/swc/releases
# If you'd rather compile it from source, you can use rules_rust, fetch the project,
# then register the toolchain yourself. (Note, this is not yet documented)
load("@aspect_rules_swc//swc:repositories.bzl", "LATEST_VERSION", "swc_register_toolchains")
swc_register_toolchains(
name = "swc",
swc_version = LATEST_VERSION,
)
What's Changed
- fix(windows): remove exe extension in platforms lookup by @alexeagle in #140
- chore: use upstream json match test by @alexeagle in #144
- fix(windows): mimic an empty stdin input by @realtimetodie in #145
New Contributors
- @realtimetodie made their first contribution in #145
Full Changelog: v0.21.1...v0.21.2