TypeStrong / fork-ts-checker-webpack-plugin

Webpack plugin that runs typescript type checker on a separate process.
MIT License
1.96k stars 239 forks source link

[feature request] swc-loader - example setup #795

Closed ZelCloud closed 1 year ago

ZelCloud commented 1 year ago

Feature motivation

Swc is significantly faster than babel, but it doesn't support type checking. So it would be nice to have an example on how to setup fork ts checker with swc loader. So we can get fast compile times, but also have the type checking coming through eventually.

Feature description & Feature implementation

Add an additional example in the examples folder but focused on swc loader. https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/tree/main/examples