rspack_binding_builder/
lib.rs

1//! A Rust crate that provides the foundation for building custom Rspack bindings and plugins.
2//! This crate serves as a bridge between the Rspack core functionality and custom plugin implementations.
3//!
4//! ## Overview
5//!
6//! `rspack_binding_builder` is a lightweight wrapper around `rspack_binding_api` that provides
7//! essential utilities for creating custom Rspack plugins and bindings. It re-exports key components
8//! from the binding API to simplify the development of custom Rspack integrations.
9//!
10//! ## Features
11//!
12//! - `plugin`: Enable SWC plugin support
13//!
14//! # Guide
15//! [Rspack Custom binding](https://rspack-contrib.github.io/rspack-rust-book/custom-binding/getting-started/index.html)
16// Re-export rspack_binding_api to make it available to the N-API binding
17extern crate rspack_binding_api;
18
19pub use rspack_binding_api::{CustomPluginBuilder, register_custom_plugin};