Skip to content

pundle-typescript doesn't report type errors #81

@appsforartists

Description

@appsforartists

According to microsoft/TypeScript#4864, the simple transpileModule function in the TypeScript compiler only reports syntax errors (which is what babylon gives you anyway). For real errors, we'd need something more sophisticated, likely using language services to watch the filesystem. pundle is already using chokidar for watching.

TBD:

  • Is there a way to replace pundle's watcher with TypeScript's when using pundle-typescript?
  • What's the performance impact on letting both do the watching (pundle for bundling and TypeScript for error reporting)?
  • How much work it would be to write a Language Services-based pundle plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions