MCPcopy Create free account
hub / github.com/FastLED/FastLED / _run_esbuild

Function _run_esbuild

ci/esbuild_frontend.py:129–140  ·  view source on GitHub ↗
(args: list[str])

Source from the content-addressed store, hash-verified

127
128
129def _run_esbuild(args: list[str]) -> None:
130 esbuild = install_esbuild()
131 result = subprocess.run(
132 [
133 str(esbuild),
134 "--alias:three=./vendor/three/build/three.module.js",
135 *args,
136 ],
137 cwd=str(FRONTEND_DIR),
138 )
139 if result.returncode != 0:
140 raise RuntimeError(f"esbuild failed with exit code {result.returncode}")
141
142
143def build_dist() -> Path:

Callers 1

build_distFunction · 0.85

Calls 2

install_esbuildFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected