@ruvyxa/adapter-static
v1.0.3
Published
Prepare Ruvyxa routes and assets for static output targets through the first-party adapter contract.
Downloads
501
Maintainers
Readme
@ruvyxa/adapter-static
Static output adapter metadata for Ruvyxa production builds.
Install
npm install @ruvyxa/adapter-staticUsage
import { defineConfig } from "ruvyxa/config"
import { staticAdapter } from "@ruvyxa/adapter-static"
export default defineConfig({
adapter: staticAdapter(),
})Output Metadata
{
"name": "static",
"target": "static",
"platform": "static",
"entry": ".ruvyxa/static",
"assetsDir": ".ruvyxa/assets"
}Use this adapter for static-only sites. Runtime APIs such as API routes and server actions require a server target.
