Rsbuild Best Practices Apply these rules when writing or reviewing Rsbuild projects. Configuration - Use and - Use or only when no first-class Rsbuild option exists - Define explicit values for multi-page applications - In TypeScript projects, prefer path aliases first CLI - Use for local development - Use for production build - Use only for local production preview - Use to inspect final Rsbuild/Rspack configs Type checking - Use for integrated dev/build type checks - Or run / as an explicit script step Bundle size optimization - Prefer dynamic for non-critical code paths - Prefer lightweigh…