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
{{ message }}
This repository was archived by the owner on May 22, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 22, 2026. It is now read-only.
json-language-service browser bundle includes TypeScript runtime #244
@player-tools/json-language-service browser bundling currently includes TypeScript compiler runtime, even though validation/LSP should operate on XLR only and should not need TS at this layer.
Repro
Bundle language/json-language-service/src/index.ts for browser (esbuild) and inspect output for TS runtime markers.
Example markers currently present:
/typescript/lib/typescript.js
getDefaultLibFileName
Compiler_option_0_of_value_1_is_unstable
Expected
Browser bundle for json-language-service excludes TypeScript runtime.
Actual
TypeScript runtime is bundled via @player-tools/xlr-sdk dependency chain.
Activity
shahabdsh commentedon Mar 5, 2026
Repro branch pushed for easier validation:
repro/lsp-bundles-typescript41cfb59Run:
pnpm vitest language/json-language-service/src/__tests__/bundle-hygiene.test.tsExpected result on this branch: test fails because browser bundle contains TS runtime markers.
shahabdsh commentedon Mar 5, 2026
Closing in favor of player-ui/xlr#7, which now has the canonical repro branch and up-to-date details.