rstackjs/rsbuild-plugin-template

Use this template to create your own Rsbuild plugin 🌟

29

stars

137

commits

TypeScript

primary language

Sep 8, 2026

updated

rsbuild.rs/plugins/dev/
rsbuild
rsbuild-plugin
rspack
Browse cluster: TypeScript/JavaScript bundlers and build tools β†’

README

rsbuild-plugin-example

Example plugin for Rsbuild.

npm version license downloads

Usage

Install:

npm add rsbuild-plugin-example -D

Add plugin to your rsbuild.config.ts:

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

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

Options

foo

Some description.

  • Type: string
  • Default: undefined
  • Example:
pluginExample({
  foo: 'bar',
});

License

MIT.

Contributors

chenjiahan

86 commits

renovate[bot]

49 commits

colinaaa

1 commits

fi3ework

1 commits

rstackjs/rsbuild-plugin-template

Use this template to create your own Rsbuild plugin 🌟

29

stars

137

commits

TypeScript

primary language

Sep 8, 2026

updated

rsbuild.rs/plugins/dev/
rsbuild
rsbuild-plugin
rspack
Browse cluster: TypeScript/JavaScript bundlers and build tools β†’

README

rsbuild-plugin-example

Example plugin for Rsbuild.

npm version license downloads

Usage

Install:

npm add rsbuild-plugin-example -D

Add plugin to your rsbuild.config.ts:

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

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

Options

foo

Some description.

  • Type: string
  • Default: undefined
  • Example:
pluginExample({
  foo: 'bar',
});

License

MIT.

Contributors

chenjiahan

86 commits

renovate[bot]

49 commits

colinaaa

1 commits

fi3ework

1 commits

Languages

TypeScript

83.5%

CSS

15.9%