Skip to content

rspack-contrib/rsbuild-plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.