feat: proper windows support

This commit is contained in:
eric
2026-03-15 11:04:44 +01:00
parent 4f8e27cd74
commit 626a6640f8
70 changed files with 3410 additions and 1689 deletions

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -euo pipefail
first_output="$1"
second_output="$2"
if [[ ${first_output} == "${second_output}" ]]; then
echo "Expected distinct bundle outputs for same-basename entry points" >&2
exit 1
fi
if [[ ! -f ${first_output} || ! -f ${second_output} ]]; then
echo "Expected both bundle outputs to exist" >&2
exit 1
fi
if [[ ${first_output} != *"collision_bundle__tests_bundle_test_collision_case_a_main.js" ]]; then
echo "Unexpected first output path: ${first_output}" >&2
exit 1
fi
if [[ ${second_output} != *"collision_bundle__tests_bundle_test_collision_case_b_main.js" ]]; then
echo "Unexpected second output path: ${second_output}" >&2
exit 1
fi