Skip to content

Move config parsing out of js/compiler.ts #5606

Closed
@kitsonk

Description

@kitsonk

This issue is for tracking purposes of something the core team is working on. Informed feedback is welcomed, but please think before commenting.

Moving tsconfig parsing out of compiler.ts requires a couple things:

  • Ability to parse JSONC (@dprint has it cc/ @dsherret)
  • Having default values and overrides depending on type of compile (e.g. bundle is slightly different to just plain which are also both slightly different from the runtime APIs)
  • Changing the ops to just supply a parsed JSON structure of compiler options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clirelated to cli/ dir

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions