Gluon node package · 1.10.0

@gluonjs/vite

Official Vite integration and state-preserving HMR for Gluon.

Runtimenode
Version1.10.0
LicenseMIT
Public entry points1

Install and start

Install the public package at the same version as the rest of the Gluon train:

shell
npm install @gluonjs/vite
ts
import { defineConfig } from 'vite';
import gluon from '@gluonjs/vite';

export default defineConfig({ plugins: [gluon()] });

Purpose

Official Vite integration and state-preserving HMR for Gluon.

Use cases

  • Template source maps, development diagnostics, and HMR.
  • Build-time integration for Gluon applications.
  • Tooling support for browser-oriented packages.

Public entry points

Only these package exports are part of the supported public boundary.

Dependencies and peers

Installed dependencies

  • @gluonjs/compiler · runtime dependency

Peer dependencies

  • @gluonjs/core@1.10.0 · optional
  • vite@^8.0.0

API reference

Open an entry point above for generated symbol documentation and a reviewed example for every public symbol. Application code must import from this package entry point, never from repository source paths.

Scope and limits

  • Does not own application runtime state or rendering semantics.
  • Requires Vite and the public Core package.

Related guides

Verified integration notes

  • Depends on `@gluonjs/compiler` and peers on `@gluonjs/core` plus `vite`.
  • Public export surface is `.`.