Rspack Builder
Build GitHub Actions using Rspack.
Installation
bash
pnpm add -D actions-kit @actions-sdk/rspack-builder
bash
yarn add -D actions-kit @actions-sdk/rspack-builder
bash
npm install -D actions-kit @actions-sdk/rspack-builder
bash
bun install -D actions-kit @actions-sdk/rspack-builder
Set the builder
in your actions-kit.config.ts
file:
ts
import { defineConfig } from "actions-kit/config";
import rspack from "@actions-sdk/rspack-builder";
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 { defineConfig } from "actions-kit/config";
import rspack from "@actions-sdk/rspack-builder";
export default defineConfig({
builder: rspack({
...rspackOptions,
}),
});