Skip to content

v0.10.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Mar 02:28
· 39 commits to main since this release
00533af

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_webpack",
    sha256 = "82547fe69e477623dd8a2a50f809e3c89f2035d6b6236d0596d69b7e81c68676",
    strip_prefix = "rules_webpack-0.10.1",
    url = "https://github.com/aspect-build/rules_webpack/releases/download/v0.10.1/rules_webpack-v0.10.1.tar.gz",
)

#######################
# rules_webpack setup #
#######################

# Fetch the Bazel module dependencies

load("@aspect_rules_webpack//webpack:dependencies.bzl", "rules_webpack_dependencies")

rules_webpack_dependencies()

# Fetch and register a nodejs interpreter, if you haven't already

load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")

nodejs_register_toolchains(
    name = "node",
    node_version = DEFAULT_NODE_VERSION,
)

# Fetch and register the webpack tool
load("@aspect_rules_webpack//webpack:repositories.bzl", "webpack_repositories")

webpack_repositories(name = "webpack")

load("@webpack//:npm_repositories.bzl", webpack_npm_repositories = "npm_repositories")

webpack_npm_repositories()

What's Changed

Full Changelog: v0.10.0...v0.10.1