{"repo":"kmijs/kmi","free":true,"listed":false,"github":"https://github.com/kmijs/kmi","clone":"git clone https://github.com/kmijs/kmi.git","description":"Based on Umi to provide Rspack support and other best practices 为 Umi 提供 Rspack 支持","language":"JavaScript","stars":110,"topics":["rspack","umi","react","antd-design-pro"],"license":"MIT","category":"ui-components","readme_excerpt":"Kmi Based on Umi to provide Rspack support and other best practices English 简体中文 Introduction Kmi provides Rspack support and modern web development best practices for UmiJS. It aims to provide faster and more efficient development experience with better build performance. ✨ Features - Rspack Integration : Uses Rspack as the build tool, providing several times faster build speed compared to Webpack - Smooth Fallback : Provides support for traditional toolchains like terser and postcss to ensure project stability. New projects can seamlessly use next-generation toolchains like lightningcss and swc for performance improvements - Easy to Use : Easily switch between Rspack/Webpack build modes through configuration toggles, with quick fallback when issues arise - Unified Interface : Provides unified configuration interface that abstracts away differences in underlying build tools, reducing learning costs Quick Start Kmi requires the latest Umi support. If your current Umi version is lower than 4.4.11 , please upgrade umi or @umijs/max before proceeding. Create Kmi Project Create a project via command line hello-kmi is your project name, please specify according to your actual needs Start the Project Run the pnpm dev command Installation Configuration Create or modify the .umirc.ts file in the project root directory: Custom Build Configuration - Modify Webpack(Rspack) configuration object via bundler option - Modify Webpack(Rspack) configuration in function form - Modify Webpack(Rs","default_branch":null,"files":null,"tree":[],"storefront":"/r/kmijs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kmijs/kmi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}