Ecosyste.ms: Awesome

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

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

plugin rsbuild rspack

Last synced: 3 months ago
JSON representation

Use this template to create your own Rsbuild plugin 🌟

Lists

README

        

# rsbuild-plugin-example

rsbuild-plugin-example is a Rsbuild plugin to do something.



npm version

license

## 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

Here are the available options:

| Name | Type | Description | Defaults |
| ---- | --------- | ---------------- | ----------- |
| foo | `string` | Some description | `undefined` |
| bar | `boolean` | Some description | `false` |

## License

[MIT](./LICENSE).