Replaces create-react-app with vite to use fast development builds using esbuild.
Before
```console
$ yarn start
...
takes 10+ seconds
$ time yarn build
Creating an optimized production build...
...
yarn build 71.85s user 7.81s system 179% cpu 44.387 total
```
After
```console
$ yarn start
vite v2.4.4 dev server running at:
> Local: http://localhost:3000/
> Network: use `--host` to expose
ready in 1255ms.
$ time yarn build
vite v2.4.4 building for production...
...
yarn build 32.71s user 1.98s system 202% cpu 17.145 total
```
Testing
Local testing for the following commands:
yarn start
yarn build
yarn serve
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue
N/A
Description
Replaces create-react-app with vite to use fast development builds using esbuild.
Before
```console $ yarn start ... takes 10+ seconds $ time yarn build Creating an optimized production build... ... yarn build 71.85s user 7.81s system 179% cpu 44.387 total ```After
```console $ yarn start vite v2.4.4 dev server running at: > Local: http://localhost:3000/ > Network: use `--host` to expose ready in 1255ms. $ time yarn build vite v2.4.4 building for production... ... yarn build 32.71s user 1.98s system 202% cpu 17.145 total ```Testing
Local testing for the following commands:
yarn start
yarn build
yarn serve
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.