sourcegraph/dev/webpack.bzl
Jason Bedard 10aefc4bb7
bazel: add bazel build,tests for client/* (#46193)
Webpack bundles compile but need further testing. Jest + mocha tests
compile but are marked as `manual` until further work is done to get them
passing. The four jest tests are green and enabled now, though.

## Test plan

`bazel build //client/...` and `bazel test //client/...`
2023-02-28 20:46:03 -08:00

16 lines
406 B
Python

load("@aspect_rules_webpack//webpack:defs.bzl", _webpack_bundle = "webpack_bundle", _webpack_devserver = "webpack_devserver")
def webpack_bundle(name, **kwargs):
_webpack_bundle(
name = name,
webpack = "//dev:webpack",
**kwargs
)
def webpack_devserver(name, **kwargs):
_webpack_devserver(
name = name,
webpack = "//dev:webpack",
**kwargs
)