[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/esbuild/esbuild.desc [COPY] Copyright (C) 2021 - 2026 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] An extremely fast bundler for the web [T] The main goal of the esbuild bundler project is to bring about a new era of [T] build tool performance, and create an easy-to-use modern bundler along the [T] way. [U] https://esbuild.github.io [A] Evan Wallace [M] m4tk [C] extra/development [F] CROSS [L] MIT [V] 0.28.0 [D] 0ac0276d2f54c6c94903d234acbdda2d5c24cc318c14e7ac56b91abd esbuild-0.28.0.tar.gz https://github.com/evanw/esbuild/archive/v0.28.0/ rungo=0 runmake=0 esbuild_build() { go build -ldflags="-X main.version=$ver" -v ./cmd/esbuild node scripts/esbuild.js npm/esbuild/package.json --version node scripts/esbuild.js ./esbuild --neutral sed -i '1s#^#var ESBUILD_BINARY_PATH = "/$prefix/bin/esbuild";\n#' \ npm/esbuild/lib/main.js } hook_add premake 5 esbuild_build esbuild_install() { cp -f esbuild $bindir/esbuild mkdir -p $libdir/node_modules/esbuild cp -f npm/esbuild/package.json $libdir/node_modules/esbuild cp -f -r npm/esbuild/lib $libdir/node_modules/esbuild mkdir -p $libdir/node_modules/esbuild/bin ln -f -s $bindir/esbuild $libdir/node_modules/esbuild/bin/esbuild } hook_add postmake 5 esbuild_install