@genezio/vite-plugin-genezio
v1.0.5
Published
A simple vite plugin for genezio that watches if the genezio SDK was overwritten and reload the vite dev server.
Downloads
735
Readme
vite-plugin-genezio
Introduction
This plugin ensures that your development environment remains up-to-date with any changes in the Genezio SDK by watching for overwrites and automatically reloading the Vite dev server.
Example
// vite.config.js
import { defineConfig } from 'vite'
import genezioLocalSDKReload from '@genezio/vite-plugin-genezio'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [genezioLocalSDKReload()],
})
Install
npm install --save-dev @genezio/vite-plugin-genezio