build: add Bazel BUILD file
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
0ba7e00311
commit
8c8c37fb7e
1 changed files with 19 additions and 0 deletions
19
BUILD.bazel
Normal file
19
BUILD.bazel
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Next.js app built with bun, which rules_js cannot consume. This app keeps its
|
||||
# native `bun`/Next.js build. The filegroup just makes the directory a valid
|
||||
# Bazel package and exposes sources.
|
||||
# TODO: for real Bazel builds, generate a package-lock.json and adopt
|
||||
# aspect_rules_js (https://github.com/aspect-build/rules_js).
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
srcs = glob(["src/**"], allow_empty = True) + glob(
|
||||
[
|
||||
"*.ts",
|
||||
"*.tsx",
|
||||
"*.mjs",
|
||||
"*.js",
|
||||
"*.json",
|
||||
],
|
||||
allow_empty = True,
|
||||
),
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
Loading…
Reference in a new issue