stscoundrel/old-norwegian-dictionary

Check SWC as alternative to TypeScript default build

Closed this issue · 1 comments

SWC seems to support almost everything nowadays. Check it out as alternative build step to:

  • Maybe get easy minify, compress, and mangled release.
  • Support Rust based alternatives

In case of larger hardcoded sets of TS objects the minification would probably be notable benefit.

SWC does not seem to emit TS types (yet). The build process was super fast & minification results seemed good, but needs additional step of still running TSC with only types being emitted.