Rslib Best Practices Apply these rules when writing or reviewing Rslib library projects. Configuration - Use and - Check Rslib-specific configurations first (e.g., ), and also leverage Rsbuild configurations (e.g., , , ) as needed - For deep-level or advanced configuration needs, use or to access Rspack's native configurations - In TypeScript projects, prefer path aliases CLI - Use to build - Use to build in watch mode for local development - Use to inspect final Rslib/Rsbuild/Rspack configs Output - Prefer to build pure-ESM package with in - Prefer to use bundleless mode with set to when bui…