mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-28 05:06:13 +01:00
chore: close plugin
This commit is contained in:
parent
be2abf09cc
commit
08d2a88e70
2 changed files with 24 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import { VitePWA } from 'vite-plugin-pwa';
|
|||
import { defineConfig, createLogger } from 'vite';
|
||||
import { nodePolyfills } from 'vite-plugin-node-polyfills';
|
||||
import type { Plugin } from 'vite';
|
||||
import ClosePlugin from './vite-plugin-close.ts'
|
||||
|
||||
const logger = createLogger();
|
||||
const originalWarning = logger.warn;
|
||||
|
|
@ -51,6 +52,7 @@ export default defineConfig({
|
|||
envDir: '../',
|
||||
envPrefix: ['VITE_', 'SCRIPT_', 'DOMAIN_', 'ALLOW_'],
|
||||
plugins: [
|
||||
ClosePlugin(),
|
||||
react(),
|
||||
nodePolyfills(),
|
||||
VitePWA({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue