mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-22 14:25:10 +03:00
22 lines
453 B
Python
22 lines
453 B
Python
load("@prelude-nri//node.bzl", "prettier_diffs")
|
|
|
|
genrule(
|
|
name = "bundle.js",
|
|
out = "bundle.js",
|
|
srcs = glob(["**/*.js"]),
|
|
cmd = "$(exe //:browserify) index.js --outfile $OUT",
|
|
visibility = ["//component-catalog:public"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "src",
|
|
srcs = glob(["**/*.js"]),
|
|
visibility = ["//:node_modules"],
|
|
)
|
|
|
|
prettier_diffs(
|
|
name = "prettier_diffs",
|
|
srcs = glob(["**/*.js"]),
|
|
prettier = "//:prettier",
|
|
)
|