Skip to content

fix: inject globals from paths containing .sst - #6988

Open
omercnet wants to merge 2 commits into
anomalyco:devfrom
omercnet:fix/6937-sst-path
Open

fix: inject globals from paths containing .sst#6988
omercnet wants to merge 2 commits into
anomalyco:devfrom
omercnet:fix/6937-sst-path

Conversation

@omercnet

@omercnet omercnet commented Aug 28, 2026

Copy link
Copy Markdown

Summary

  • detect the generated .sst directory by path segments instead of string prefixes
  • inject globals for source files when a project ancestor contains .sst
  • add a behavioral build regression for the reported worktree path

Verification

  • go test ./pkg/js
  • bun run test:cli
  • bun run build:platform
  • bun run build:cli

Closes #6937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v4: "ReferenceError: sst is not defined" when the project path contains the substring ".sst" (InjectGlobals uses strings.Contains)

1 participant