UNPKG

@drincs/pixi-vn

Version:

Pixi'VN is a npm package that provides various features for creating visual novels.

17 lines (14 loc) 642 B
import { Plugin } from 'vite'; /** * Vite plugin to handle pixi-vn related endpoints. * This plugin only runs in development mode (serve). * Endpoints: * - GET /pixi-vn/characters -> list of registered characters * - POST /pixi-vn/characters -> update the list of registered characters * - GET /pixi-vn/labels -> list of registered labels * - POST /pixi-vn/labels -> update the list of registered labels * - GET /pixi-vn/assets/manifest -> assets manifest * - POST /pixi-vn/assets/manifest -> update assets manifest */ declare function vitePluginPixivn(): Plugin; export { vitePluginPixivn };