8d321f8d6e
## Summary Several docs pages rendered identical `<title>` tags, which weakens search indexing and makes results ambiguous. Each affected page now has a unique, descriptive title while keeping its existing sidebar label unchanged. Alongside the retitles: - Removed two stale build-system upgrade pages that were no longer in the navigation, with redirects to the current package upgrade guide. - Redirected the build-extensions group index to its overview page so the two URLs stop sharing a title. - Dropped a leftover orphaned API reference page (its old URL already redirects to the management overview). No links break: nothing in the docs points at the removed pages, and every redirect target exists.
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
---
|
|
title: "Lightpanda build extension"
|
|
sidebarTitle: "lightpanda"
|
|
description: "Use the lightpanda build extension to add Lightpanda browser to your project"
|
|
tag: "v4"
|
|
---
|
|
|
|
To use the Lightpanda browser in your project, add the extension to your `trigger.config.ts` file:
|
|
|
|
```ts trigger.config.ts
|
|
import { defineConfig } from "@trigger.dev/sdk";
|
|
import { lightpanda } from "@trigger.dev/build/extensions/lightpanda";
|
|
|
|
export default defineConfig({
|
|
project: "<project ref>",
|
|
build: {
|
|
extensions: [lightpanda()],
|
|
},
|
|
});
|
|
```
|
|
|
|
## Options
|
|
|
|
- `version`: The version of the browser to install. Default: `"latest"`.
|
|
- `disableTelemetry`: Whether to disable telemetry. Default: `false`.
|
|
|
|
For example:
|
|
|
|
```ts trigger.config.ts
|
|
import { defineConfig } from "@trigger.dev/sdk";
|
|
import { lightpanda } from "@trigger.dev/build/extensions/lightpanda";
|
|
|
|
export default defineConfig({
|
|
project: "<project ref>",
|
|
build: {
|
|
extensions: [
|
|
lightpanda({
|
|
version: "nightly",
|
|
disableTelemetry: true,
|
|
}),
|
|
],
|
|
},
|
|
});
|
|
```
|
|
|
|
## Development
|
|
|
|
When running in dev, you will first have to download the Lightpanda browser binary and make sure it's in your `PATH`. See [Lightpanda's installation guide](https://lightpanda.io/docs/getting-started/installation).
|
|
|
|
## Next steps
|
|
|
|
<CardGroup>
|
|
<Card title="Lightpanda" color="#6ac6e2" icon="bolt" href="/guides/examples/lightpanda">
|
|
Learn how to use Lightpanda in your project.
|
|
</Card>
|
|
</CardGroup>
|