|
|
|
|
|
by acemarke
1730 days ago
|
|
The "audit warnings" are unfortunately entirely irrelvant to a build tool like CRA: https://overreacted.io/npm-audit-broken-by-design/ The size of CRA is largely due to its primary dependencies (Webpack, Babel, Jest, and ESLint), which are normal parts of most modern web app build toolchains. That said, there's plenty of other alternatives. For example, Vite uses a combination of ESBuild + Rollup for its build steps, and has only a relative handful of dependencies. As a result, it installs fast, and creates + starts projects even faster. None of that is specific to React the UI library, though. |
|
In contrast, when I tried sveltejs, the 'official' way using degit worked sewmlessly, standard dependencies were also much smaller than when I used react.
But I will give a try to Vite, thanks for recommendation!