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: about 13 hours ago
JSON representation

Use this template to create your own Rsbuild plugin 🌟

Awesome Lists containing this project

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

### foo

Some description.

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

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

## License

[MIT](./LICENSE).