Skip to content

json-language-service browser bundle includes TypeScript runtime #244

@shahabdsh

Description

@shahabdsh

Summary

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions