has error

This commit is contained in:
2025-12-09 22:12:40 +08:00
commit 678b2e8b70
11 changed files with 2887 additions and 0 deletions

25
vite.config.ts Normal file
View File

@@ -0,0 +1,25 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { viteStaticCopy } from 'vite-plugin-static-copy'
export default defineConfig({
plugins: [
react(),
viteStaticCopy({
targets: [
{
src: 'public/*.mdx',
dest: './'
}
]
})
],
server: {
port: 3000,
open: true
},
build: {
outDir: 'dist',
sourcemap: true
}
})