Deploy your JavaScript/TypeScript libraries to Zephyr Cloud using Rslib. Built on Rsbuild, Rslib provides a fast and flexible library building solution with excellent TypeScript support and multiple output formats.
This detects your bundler and configures Zephyr automatically. Learn more →
For manual setup, continue below.
Install the Rsbuild plugin in your Rslib project:
Add the Zephyr plugin to your Rslib configuration:
Rslib supports building your library in multiple formats:
A typical Rslib library structure:
Start development mode with watch:
Build for production:
Rslib provides excellent TypeScript support with automatic declaration generation:
Customize bundling behavior with additional options: