@sigx/netlify · Stable

Netlify#

Emits the .netlify/v1/functions/sigx-ssr catch-all function with preferStatic routing — CDN files win, the raw outlet template stays off "/", and netlify.toml stays yours. Deploy with netlify deploy --prod.

v0.13.0 MIT

Installation#

Terminal
pnpm add -D @sigx/netlify

Usage#

TypeScript
// vite.config.netlify.ts
import { defineConfig } from 'vite';
import sigx from '@sigx/vite';
import { netlify } from '@sigx/netlify';

export default defineConfig({
    plugins: [sigx({ ssr: { entry: 'src/entry-server.tsx', adapter: netlify() } })]
});

vite build --app -c vite.config.netlify.ts produces a fully bundled function and generates the Frameworks API channel — Netlify's recommended target for build-tool adapters. Deploy with netlify deploy --prod (builds by default) or netlify deploy --prod --no-build for prebuilt output.

About#

@sigx/netlify is a Deploy adapter — Frameworks API function generation. It ships from the core repo in lockstep with the release it deploys, so the adapter always matches your sigx version.

It rides @sigx/vite's public SigxAdapter seam; the runtime story is createFetchHandler (WinterCG-clean, CI-enforced) — everything in this package is build glue.

Next steps#

Continue with Deploying to Netlify for the function layout and routing policy, or jump to the API reference.