Skip to content

fix: bind TSL preview runtime inside generated module#66

Merged
devallibus merged 1 commit intodevelopmentfrom
fix/tsl-preview-runtime
Mar 10, 2026
Merged

fix: bind TSL preview runtime inside generated module#66
devallibus merged 1 commit intodevelopmentfrom
fix/tsl-preview-runtime

Conversation

@devallibus
Copy link
Owner

Summary\n- fix the generated TSL preview module so it binds THREE and TSL from the runtime passed into createPreview()\n- add a direct regression test that executes the generated preview module with stubbed runtime objects\n\n## Why\nThe previous generated module referenced THREE/TSL at module scope, which caused the live TSL runtime to fail and the detail page to fall back to the SVG preview.\n\n## Validation\n- node --experimental-strip-types packages/schema/src/index.test.ts\n- bun x tsc -p tsconfig.json --noEmit\n- bun run build:web

@devallibus devallibus merged commit 9375caf into development Mar 10, 2026
4 checks passed
@devallibus devallibus deleted the fix/tsl-preview-runtime branch March 10, 2026 14:03
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.

1 participant