faberNovel / heart

A command-line tool to industrialize web quality measurement
https://heart.fabernovel.com
MIT License
5 stars 2 forks source link

Try to replace the TypeScript compiler for a more efficient alternative #174

Closed bgatellier closed 10 months ago

bgatellier commented 1 year ago

swc is an alternative to tsc to compile TypeScript files. swc seems to be more fast, allows code minification and require less configuration than tsc.

This issue is about replacing tsc by swc for:

  1. compiling TypeScript code into JavaScript
  2. minify the output
bgatellier commented 10 months ago

SWC does not type checking, so we're losing a quality feature here. As performance gains are small and only related to contribution (application builds) and not usage, moving to SWC is not so relevant