转译器( Transpilers)

Review

  1. 2023-02-27 06:30

一、Introduction #

  1. Babel
  2. Traceur
  3. Typescript
  4. wuzzle
  5. SWC

wuzzle #

  1. For compilers with webpack embedded for compilation (like  create-react-appvue-clinextnuxt, etc), wuzzle provides the ability of modifying their internally used webpack configs.
  2. For JS runners with their own methods of compilation (like  jestmocha, the bare  node, etc), wuzzle can hook up compatible webpack based compilation as replacements.
  3. For file transpilation, wuzzle provides a webpack based transpiler.
  4. For setup process, wuzzle opts in easily.
  5. For modification on webpack configs, wuzzle provides a unified entry, a dry-run mode, and well-tested modification utilities.

Reference #

  1. Wuzzle,进行基于 webpack 的 JS 转译