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: 16 days 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-01T01:40:10.000Z (26 days ago)
- Last Synced: 2024-12-01T02:28:55.309Z (26 days ago)
- Topics: rsbuild, rsbuild-plugin, rspack
- Language: TypeScript
- Homepage: https://rsbuild.dev/plugins/dev/index
- Size: 151 KB
- Stars: 15
- 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
Example plugin for Rsbuild.
## 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).