Transpilers

Convert the source-code to another source code. For example if we have newer syntax, the outdated browser cannot understand. Therefore we need to transpile.

In contrast to Polyfill, it doesn't provide to support new API

For example:

// before running the transpiler
height = height ?? 100;

// after running the transpiler
height = (height !== undefined && height !== null) ? height : 100;

Example: Babel ยท Babel (babeljs.io), webpack