mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

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
11 lines
270 B
Python
11 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
|
|
)
|