Files
headlessui/scripts/build.sh
T
Robin Malfait abc71184c8 cleanup scripts
use git command instead of some random realpath that is not installed everywhere
2020-09-20 20:47:39 +02:00

15 lines
274 B
Bash
Executable File

#!/bin/bash
set -e
node="yarn node"
tsdxArgs=()
# Add script name
tsdxArgs+=("build" "--name" "headlessui" "--format" "cjs,esm,umd" "--tsconfig" "./tsconfig.tsdx.json")
# Passthrough arguments and flags
tsdxArgs+=($@)
# Execute
$node "$(yarn bin tsdx)" "${tsdxArgs[@]}"