TypeStrong / fork-ts-checker-webpack-plugin

Webpack plugin that runs typescript type checker on a separate process.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature request] swc-loader - example setup

ZelCloud opened this issue · comments

commented

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