You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: eliminate dist/dist/ build corruption at source — remove hardcoded ../../dist/ fallback paths, use import.meta.url resolution, disable stale source maps, add prebuild clean
Three files were confirmed as dist/dist/ corruption sources:
- strray-codex-injection.ts/js: removed ../../dist/core/... fallback candidates, use cwd-relative paths in loadStringRayComponents()
- import-resolver.ts: use join(currentDir, ..) instead of ../dist/ relative paths
- GitHookTrigger.ts: use STRRAY_DIST_PATH env var instead of hardcoded /dist/ in dynamic imports
Also: disable sourceMap + declarationMap in tsconfig (unnecessary bloat, caused missing map warnings),
add prebuild clean step to remove tsconfig.tsbuildinfo before each build (prevents incremental cache corruption)
0 commit comments