anki/ts/esbuild.bzl
2021-04-07 15:19:23 +10:00

12 lines
263 B
Python

load("//ts/esbuild:upstream.bzl", _esbuild = "esbuild_macro")
def esbuild(name, **kwargs):
_esbuild(
name = name,
minify = select({
"//:release": True,
"//conditions:default": False,
}),
**kwargs
)