brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
rsbuild-best-practicesConfigure, review, or troubleshoot Rsbuild applications, including build/dev commands, assets, type checking, and bundle optimization.
Independent GitHub snapshot · Automated classification · Original documentation governs
Apply these rules when writing or reviewing Rsbuild projects.
rsbuild.config.ts and defineConfigtools.rspack or tools.bundlerChain only when no first-class Rsbuild option existssource.entry values for multi-page applicationstsconfig.json path aliases firstrsbuild for local developmentrsbuild build for production buildrsbuild preview only for local production previewrsbuild inspect to inspect final Rsbuild/Rspack configs@rsbuild/plugin-type-check for integrated dev/build type checkstsc --noEmit/vue-tsc --noEmit as an explicit script stepimport() for non-critical code pathspublicpublic files by absolute URL path.map files to public servers/CDNs when production source maps are enabledDEBUG=rsbuild when diagnosing config resolution or plugin behaviordist/.rsbuild to confirm final config, not assumed config--cpu-prof) when JavaScript-side overhead is suspectedRSPACK_PROFILE=OVERVIEW and analyze trace output for compiler-phase bottlenecks