This commit is contained in:
Stephen Zhou
2026-02-26 02:00:13 +08:00
parent 511958ae59
commit 4be7e38cd4

View File

@@ -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 }) => {