update at 2026-10-12 18:55:48

This commit is contained in:
douboer
2026-10-12 18:55:48 +08:00
parent 3b7720528e
commit 74f5815ed1
2729 changed files with 1558081 additions and 31 deletions

34
figma/vite.config.ts Executable file
View File

@@ -0,0 +1,34 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import path from 'node:path'
// Vite config — https://vite.dev/config/
export default defineConfig(() => {
return {
base: '/',
build: {
sourcemap: false,
minify: true,
chunkSizeWarningLimit: 1500,
},
plugins: [
react(),
tailwindcss(),
],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
host: '127.0.0.1',
port: 5188,
strictPort: true,
},
preview: {
host: '127.0.0.1',
port: 5188,
},
}
})