0.4.0 convex及界面修改
This commit is contained in:
@@ -4,16 +4,16 @@
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "bunx --bun vite",
|
||||
"build": "bunx --bun vite build",
|
||||
"dev": "bunx --bun vite --mode all",
|
||||
"build": "bunx --bun vite build --mode all",
|
||||
"lint": "eslint .",
|
||||
"preview": "bunx --bun vite preview",
|
||||
"preview": "bunx --bun vite preview --mode all",
|
||||
"test": "bun test",
|
||||
"test:watch": "bun test --watch",
|
||||
"test:coverage": "bun test --coverage",
|
||||
"dev-no-bun": "vite",
|
||||
"build-no-bun": "vite build --emptyOutDir",
|
||||
"preview-no-bun": "vite preview"
|
||||
"dev-no-bun": "vite --mode all",
|
||||
"build-no-bun": "vite build --mode all --emptyOutDir",
|
||||
"preview-no-bun": "vite preview --mode all"
|
||||
},
|
||||
"dependencies": {
|
||||
"@faker-js/faker": "^9.9.0",
|
||||
|
||||
@@ -6,6 +6,8 @@ import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
// 约定:全局仅使用仓库根目录的 .env.all(通过 `--mode all` 读取)。
|
||||
envDir: path.resolve(__dirname, '../..'),
|
||||
plugins: [react(), tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user