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
rsbuild rsbuild-plugin rspack
Last synced: about 13 hours ago
JSON representation
Use this template to create your own Rsbuild plugin 🌟
- Host: GitHub
- URL: https://github.com/rspack-contrib/rsbuild-plugin-template
- Owner: rspack-contrib
- License: mit
- Created: 2023-11-15T08:31:32.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-08T13:48:10.000Z (4 days ago)
- Last Synced: 2024-11-08T14:37:39.624Z (4 days ago)
- Topics: rsbuild, rsbuild-plugin, rspack
- Language: TypeScript
- Homepage: https://rsbuild.dev/plugins/dev/index
- Size: 144 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rspack - rsbuild-plugin-template
README
# rsbuild-plugin-example
rsbuild-plugin-example is a Rsbuild plugin to do something.
## 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).