History log of /expo/tools/taskfile.js (Results 1 – 1 of 1)
Revision Date Author Comments
# cd9c29bc 13-Jan-2023 Evan Bacon <[email protected]>

feat(expotools): use swc to compile source files (#20790)

# Why

- We use swc to compile Expo CLI, it's really fast.

## Before

`time yarn tsc` -- `14.22s`

## After

`time yarn build` --

feat(expotools): use swc to compile source files (#20790)

# Why

- We use swc to compile Expo CLI, it's really fast.

## Before

`time yarn tsc` -- `14.22s`

## After

`time yarn build` -- `0.67s`

> Over 21x faster.

# How

- Wrote a Taskr file that bundled the code similar to before. One very
notable difference is that type-checking is skipped.
- Not sure if the `patch`, `sh`, `jar`, `txt` files should be copied
into the build folder. Looks like they weren't being copied over with
tsc.

# Test Plan

- `yarn clean && yarn et -h`

show more ...