anki/ts/esbuild.bzl
Damien Elmes 13d415f8e3 move esbuild into separate repo
Most of our changes have been upstreamed, but the toolchain change
probably won't be merged soon, and a separate git repo will make it
easier to track upstream changes.

@hgiesel output_css=True will need to be changed to output_css="foo.css"
instead
2021-04-15 10:53:49 +10:00

12 lines
270 B
Python

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