v1.7 - Nov/23
All the changes at this moment:
- upgrade vite to v5
- improved bundle optimization splitting chunks that are common and doesn't change much, like react, react-dom and react/jsx
- add treemap bundle analyzer
- improved linters
- enforced linters before build: it must succeed before commit and deploying with actions
- removed dep
@fvilers/disable-react-devtools
and implemented the snippet directly onindex.html
at root, in order to optimize bundle size - improved some script commands to improve DX
- minor change on
.eslintrc
in order to prepare to the v9 changes (it will be huge) - upgrade to node v20 (🥳🎉)
to-do-in-sometime-in-future:
- improve eslint rules by visiting each rule and each plugin and enforce them in a friendly way
- implement strict typescript lint and check with tsc itself
- apply optimizations for assets compression (brotli, gzip)
- apply optimizations for other assets like images and fonts (specially fonts injected by third parties)
- implement qr-code to open application on mobile and facilitate dev testing for responsives
- check msw workflow with vitest/testing-lib
- check if css modules will work in chunks/modules as desired
What's Changed
Full Changelog: v1.6...v1.7