mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-05-24 15:40:19 +08:00
17855858d7
Phase 3A.2: Create vite.web.config.mts for building the CLI serve Web SPA independently from the Electron build pipeline. - __IS_ELECTRON__ = false, __IS_BROWSER_STANDALONE__ = false - Output to dist-web/ (gitignored) - Dev proxy: /_web and /api -> localhost:3400 (chatlab serve) - Resolve aliases for @electron/shared and @electron/preload (type-only imports, erased at build time) - npm scripts: dev:web, build:web - Same manualChunks strategy as Electron renderer build
40 lines
441 B
Plaintext
40 lines
441 B
Plaintext
# OSX
|
|
.DS_Store
|
|
|
|
# Node.js
|
|
node_modules
|
|
|
|
# local env files
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Log files
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
*.log
|
|
error-log-*.txt
|
|
|
|
# Project
|
|
dist/
|
|
dist-web/
|
|
packages/server/native/
|
|
.history/
|
|
out
|
|
.obskey
|
|
release-config.json
|
|
src/auto-imports.d.ts
|
|
src/components.d.ts
|
|
*.tsbuildinfo
|
|
|
|
# 使用npm作为包管理器
|
|
yarn.lock
|
|
|
|
# AI
|
|
.cursor
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/snippets.code-snippets
|
|
.docs
|
|
|