Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Introduce typescript/auto Mode for Faster TypeScript Transpilation in Webpack #19354

Open
@Vansh5632

Description

@Vansh5632

Feature request

What is the expected behavior?

Introduce a new TypeScript mode (typescript/auto) in Webpack that can leverage the new Go-based TypeScript compiler (Corsa) or Node.js built-in TypeScript transpilation for faster builds. This would serve as a lightweight alternative tots-loader, focusing purely on transpilation without type-checking.

What is motivation or use case for adding/changing the behavior?

  • Faster Compilation: The Corsa compiler promises a10x speed boost, and using Node.js for transpilation is already a popular, lightweight alternative.
  • Better Developer Experience: This can speed upHMR and incremental builds significantly.
  • Smoother Transition: Developers can opt into this mode without replacing their entire toolchain.

How should this be implemented in your opinion?

Introduce atypescript/auto mode that dynamically selects the best available transpiler:

  • Use Corsa (if stable and available).
  • Fallback to Node.js TypeScript transpilation (likets-node, but integrated).
  • Skip type-checking in Webpack builds but allow separate type-checking withfork-ts-checker-webpack-plugin.
  • Ensure compatibility with Webpack’s caching and module resolution.

Are you willing to work on this yourself?

Yes, I’m interested in exploring the feasibility of this feature and contributing to discussions and development.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp