先提交上去

This commit is contained in:
Fox_block
2026-03-16 20:49:46 +08:00
parent 86abcb5602
commit 192b48cab0
303 changed files with 30019 additions and 5846 deletions
+28
View File
@@ -0,0 +1,28 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
root: 'src/mobile',
build: {
outDir: '../../out',
emptyOutDir: true,
sourcemap: false,
minify: 'terser',
rollupOptions: {
input: {
main: path.resolve(__dirname, 'src/mobile/index.html')
}
}
},
resolve: {
alias: {
'@': path.resolve(__dirname, 'src/renderer/src')
}
},
define: {
'process.env': {},
global: 'globalThis'
}
})