From 34b7dc385634866d825f7497ec8b22ad6c43e613 Mon Sep 17 00:00:00 2001 From: arvinxx Date: Mon, 29 May 2023 21:33:34 +0800 Subject: [PATCH] =?UTF-8?q?:wrench:=20chore:=20=E5=85=B3=E9=97=AD=20api=20?= =?UTF-8?q?=E8=A7=A3=E6=9E=90=E4=BB=A5=E4=BF=AE=E6=AD=A3=E9=A2=84=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dumirc.ts | 10 +++++----- .gitignore | 7 +++++-- package.json | 5 ++--- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index 24f63ad6..4af2ee5b 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -12,11 +12,11 @@ export default defineConfig({ base: isProdSite ? '/pro-editor/' : '/', publicPath: isProdSite ? '/pro-editor/' : '/', // mfsu: false, - apiParser: {}, - resolve: { - // 配置入口文件路径,API 解析将从这里开始 - entryFile: './src/index.ts', - }, + // apiParser: {}, + // resolve: { + // // 配置入口文件路径,API 解析将从这里开始 + // entryFile: './src/index.ts', + // }, favicons: ['https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg'], // @ts-ignore ssr: isProd ? {} : false, diff --git a/.gitignore b/.gitignore index ef571543..85234b31 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,12 @@ node_modules -/dist -/es +dist +es +lib .dumi/tmp .dumi/tmp-test .dumi/tmp-production .DS_Store package-lock.json .idea +docs-dist +server diff --git a/package.json b/package.json index fc8b4adf..ed5a86fd 100644 --- a/package.json +++ b/package.json @@ -111,11 +111,11 @@ "@types/react-dom": "^18.0.0", "@umijs/lint": "^4.0.0", "@vitest/coverage-c8": "latest", - "dumi": "^2", - "dumi-theme-antd-style": "latest", "antd": "^5", "commitlint": "^17", "commitlint-config-gitmoji": "^2", + "dumi": "^2", + "dumi-theme-antd-style": "latest", "eslint": "^8.23.0", "father": "^4.1.0", "glob": "^10.2.6", @@ -127,7 +127,6 @@ "prettier-plugin-packagejson": "^2.2.18", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-lazy-load": "^4", "rxjs-spy": "^8", "stylelint": "^15", "typescript": "^5.0.4",