https://github.com/filc-dev/rsbuild-plugin-web-extension
rsbuild plugin for chrome/web extension
https://github.com/filc-dev/rsbuild-plugin-web-extension
Last synced: 10 days ago
JSON representation
rsbuild plugin for chrome/web extension
- Host: GitHub
- URL: https://github.com/filc-dev/rsbuild-plugin-web-extension
- Owner: filc-dev
- Created: 2024-03-16T18:46:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T10:19:47.000Z (about 1 year ago)
- Last Synced: 2025-02-12T16:15:49.276Z (9 months ago)
- Language: TypeScript
- Homepage: https://rsbuild-plugin-web-extension.filc.io
- Size: 615 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-rstack - rsbuild-plugin-web-extension
README
# rsbuild-plugin-web-extension
> rsbuild plugin for chrome/web extension
## Get started
install the plugin
```bash
npm i -D rsbuild-plugin-web-extension
```
```bash
pnpm i -D rsbuild-plugin-web-extension
```
```bash
yarn add -D rsbuild-plugin-web-extension
```
add the plugin to your rsbuild.config.js
```ts
import { pluginWebExtension } from "rsbuild-plugin-web-extension";
import manifest from "./manifest";
export default defineConfig({
plugins: [
pluginWebExtension({
manifest,
}),
],
});
```
## Examples
- [with-react](https://github.com/filc-dev/rsbuild-plugin-web-extension/tree/main/examples/with-react)