SWC
@workleap/swc-configs is now in maintenance mode, with the exception of the Jest shared configurations, which remain actively maintained. If you're starting a new project, consider using @workleap/rsbuild-configs or @workleap/rslib-configs instead for better performance and modern tooling.
Main features
The shared configurations offered by @workleap/swc-configs includes the following features 👇
Language support
- JavaScript
- TypeScript
Framework support
- React
Development features
- Fast Refresh
Production features
- Minification
Target environment
- ESM
- ECMAScript features matching the provided
browsers
Getting started
To get started, follow the quick start guide to configure SWC for either a development environment, a production environment or to run Jest tests.