feat(edit): 编辑上报细节优化

This commit is contained in:
2026-10-06 18:30:05 +08:00
parent e20cd7547f
commit 79b310efe7
92 changed files with 2764 additions and 368 deletions
+9
View File
@@ -1,9 +1,18 @@
import { defineConfig } from 'wxt';
import { fileURLToPath } from 'node:url';
const atlasWebOrigin = new URL(process.env.ATLAS_WEB_ORIGIN ?? 'http://localhost:8100').origin;
export default defineConfig({
modules: ['@wxt-dev/module-react'],
vite: () => ({
resolve: {
// 开发和正式构建均读取共享源码,防止开发包持续缓存旧的校验上限。
alias: {
'@atlas/contracts': fileURLToPath(new URL('../../packages/contracts/src/index.ts', import.meta.url)),
},
},
}),
// 扩展 dev server 固定 8110:默认取 3000–3010 第一个空闲端口,会漂移且易与常见服务冲突
dev: {
server: {