Skip to content

Emit compiled bundle #15

Closed
Closed
@unlight

Description

@unlight

People want have single big file with generated classes instead of multiple.
Similar issues: #6 #12

Facts:

  • ts-morph allows to emit compiled file with declarations
  • classes are not hoisted and must be properly sorted to avoid fall into TDZ
  • Unable to maintain it (make manual changes, etc.)

What need to do before:

  • Decouple generation, get rid of dependency of SourceFile in different types of handlers
  • Create helper function to resort classes
  • Emit dts with errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions