Rspack Builder
Build GitHub Actions using Rspack.
Installation
bash
pnpm add -D actions-kit @actions-sdk/rspack-builderbash
yarn add -D actions-kit @actions-sdk/rspack-builderbash
npm install -D actions-kit @actions-sdk/rspack-builderbash
bun install -D actions-kit @actions-sdk/rspack-builderSet the builder in your actions-kit.config.ts file:
ts
import rspack from "@actions-sdk/rspack-builder";
import { defineConfig } from "actions-kit/config";
export default defineConfig({
builder: rspack({
...rspackOptions,
}),
});Customizing Rspack
You can customize the Rspack options by passing the options directly into the rspack function.
ts
import rspack from "@actions-sdk/rspack-builder";
import { defineConfig } from "actions-kit/config";
export default defineConfig({
builder: rspack({
...rspackOptions,
}),
});