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 🌟
- Host: GitHub
- URL: https://github.com/rspack-contrib/rsbuild-plugin-template
- Owner: rspack-contrib
- License: mit
- Created: 2023-11-15T08:31:32.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-03-24T02:50:01.000Z (3 months ago)
- Last Synced: 2024-03-24T03:24:52.285Z (3 months ago)
- Topics: plugin, rsbuild, rspack
- Language: TypeScript
- Homepage: https://rsbuild.dev/plugins/dev/index
- Size: 53.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- 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
Here are the available options:
| Name | Type | Description | Defaults |
| ---- | --------- | ---------------- | ----------- |
| foo | `string` | Some description | `undefined` |
| bar | `boolean` | Some description | `false` |## License
[MIT](./LICENSE).