rspack

Engineering Community

Skill notes

When to use this skill

Use this skill whenever the user wants to: Set up Rspack in a new or existing project Configure Rspack for different environments Use built-in plugins or create custom plugins Migrate from Webpack to Rspack

Best Practices

Use TypeScript for configuration: Better type safety and autocomplete Leverage built-in plugins: Use Rspack plugins when available (faster than Webpack equivalents) Optimize for production: Use production mode for builds Code splitting: Use optimization.splitChunks for better performance Cache configuration: Enable persistent caching for faster rebuilds

Troubleshooting

Webpack plugin not compatible: Check Rspack compatibility list; some Webpack plugins need Rspack equivalents Loader errors: Use builtin:swc-loader instead of babel-loader for better performance Build slower than expected: Enable persistent caching; check for unoptimized loaders Migration issues: Use the webpack migration guide at examples/guide/migration/webpack.md

Resources

Official Documentation: https://rspack.rs/zh/ Getting Started: https://rspack.rs/zh/guide/start/introduction Configuration: https://rspack.rs/zh/config/ Plugins: https://rspack.rs/zh/plugins/ API Reference: https://rspack.rs/zh/api/

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Engineering
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
94 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@partme-ai · Complete terms in LICENSE.txt
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
macOS · Linux · Windows
Runtime requirements
Node.js
Detected file/system behavior
  • Read-only
  • Write / modify
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview rspack.preview
# Inline Quick Start

# Create a new Rspack project
npm create rspack@latest

# Or add to existing project
npm install --save-dev @rspack/core @rspack/cli

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.