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