mirror of
https://github.com/langgenius/dify.git
synced 2026-02-25 18:55:08 +00:00
update
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import type { Plugin } from 'vite'
|
||||
import path from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import mdx from '@mdx-js/rollup'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import vinext from 'vinext'
|
||||
@@ -6,6 +8,7 @@ import { defineConfig, loadEnv } from 'vite'
|
||||
import mkcert from 'vite-plugin-mkcert'
|
||||
import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||
const isCI = !!process.env.CI
|
||||
|
||||
export default defineConfig(({ mode }) => {
|
||||
|
||||
Reference in New Issue
Block a user