The project now runs on Vite.
yarn dev – start local development (http://localhost:3000) (entry: src/index.js)
yarn build – production build into build/
yarn preview – locally preview the production build
yarn lint – run ESLint
- Code splitting into
react,react-vendors,vendors, plus application chunks - SVG imported as React components via
?react(vite-plugin-svgr) - Uses
babel.config.js(React Compiler + prop-types removal in production) - Alias:
lottie-web→lottie_light
import Icon from './icon.svg?react'
- Add dynamic
import()for heavy prototype pages if needed - Tune
build.chunkSizeWarningLimitinvite.config.jsif bundle size warnings appear
Lazy Motion usage and lightweight Lottie build to reduce bundle size.
yarn lint for JS/JSX. Stylelint configured for SCSS modules.
yarn install
yarn dev
Node 18+ required.
Legacy Webpack config was removed. If you still find references to it, they can be safely deleted.
- Add bundle analyzer (e.g. rollup-plugin-visualizer)
- Introduce tests (Vitest/Jest) if needed