Removed Build Tool Integrations
Removed Build Tool Integrations
The following build tool integrations were removed in v1:
@unlighthouse/nuxt@unlighthouse/vite@unlighthouse/webpack
Background
The original integrations embedded Unlighthouse in development servers to provide a site URL, automatic rescans, and framework-specific route discovery.
Why Deprecate?
They coupled Unlighthouse releases to several build-tool lifecycles while duplicating behavior already available through the CLI. That maintenance cost was not justified by the small convenience layer.
Upgrading
You should remove any of the following packages from your project.
@unlighthouse/nuxt@unlighthouse/vite@unlighthouse/webpack
Run the interactive CLI against an already-running local server:
npx unlighthouse --site http://localhost:3000For automation, run the CI command against a deployed preview URL or a preview server started by an earlier job step:
npx unlighthouse-ci --site https://preview.example.comUse the dashboard to rescan routes during development. For file-based route
discovery, configure route definitions in
unlighthouse.config.ts.