Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rspack-contrib/rsbuild-plugin-template

Use this template to create your own Rsbuild plugin 🌟
https://github.com/rspack-contrib/rsbuild-plugin-template

rsbuild rsbuild-plugin rspack

Last synced: 16 days ago
JSON representation

Use this template to create your own Rsbuild plugin 🌟

Awesome Lists containing this project

README

        

# rsbuild-plugin-example

Example plugin for Rsbuild.



npm version

license
downloads

## Usage

Install:

```bash
npm add rsbuild-plugin-example -D
```

Add plugin to your `rsbuild.config.ts`:

```ts
// rsbuild.config.ts
import { pluginExample } from "rsbuild-plugin-example";

export default {
plugins: [pluginExample()],
};
```

## Options

### foo

Some description.

- Type: `string`
- Default: `undefined`
- Example:

```js
pluginExample({
foo: "bar",
});
```

## License

[MIT](./LICENSE).