jan-herman/kirby-vite

Kirby plugin that handles development and production mode of Vite.

Maintainers

Package info

github.com/jan-herman/kirby-vite

Type:kirby-plugin

pkg:composer/jan-herman/kirby-vite

Transparency log

Statistics

Installs: 168

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2.7.0 2026-08-20 10:49 UTC

This package is auto-updated.

Last update: 2026-08-20 10:51:56 UTC


README

Kirby plugin that handles development and production mode of Vite.

Options

mode

Default: 'auto'

  • auto: Development when Kirby detects a local environment and the Vite development server responds; production otherwise.
  • development: Always use development assets.
  • production: Always use production assets from the manifest.
  • hotfile: Development when build.hotFile exists; production otherwise.
  • manifest: Production when build.manifest exists; development otherwise.

entry

Default: 'index.js'

server.host

Default: localhost

server.port

Default: 3000

server.https

Default: false

server.base

Default: /

build.rootDir

Default: 'src'

build.outDir

Default: 'dist'

build.hotFile

Default: 'src/.lock'

build.manifest

Default: .vite/manifest.json