# Rslib

Rslib is a high-performance build tool powered by Rsbuild and Rspack, Rust-based ports of webpack designed for efficiency and speed. Those new Rslib shared configurations are a modern replacement for previous Workleap's shared tsup configurations.

# Main features

The shared configurations offered by @workleap/rslib-configs includes the following features 👇

# Language support

  • JavaScript
  • TypeScript
  • CSS (with CSS modules and LightningCSS)

# TypeScript features

  • Emits declaration files

# Framework support

  • React

# Asset support

  • SVG as React components

# Development features

  • Watch mode
  • Sourcemaps

# Production features

  • Sourcemaps
  • Output to /dist

# Target environment

  • ESM
  • ESNext

# Getting started

To get started, follow the quick start guide to configure Rsbuild for either a development environment, a production environment or storybook.

If your project is already using @workleap/tsup-configs, follow the migration guide.