From 21754f6d20a6e6c87237065d43e17364afc4ecd8 Mon Sep 17 00:00:00 2001 From: zengyue ye Date: Thu, 4 Jul 2024 10:12:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8D=87=E7=BA=A7=E5=AE=98=E7=BD=91?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=20(#1983)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/package.json | 4 ++-- site/tsconfig.json | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/site/package.json b/site/package.json index 929b1ecef..6cc1f3d90 100644 --- a/site/package.json +++ b/site/package.json @@ -15,12 +15,12 @@ "site:build": "dumi build", "site:clean": "", "site:deploy": "npm run site:build && gh-pages -d dist", - "site:develop": "dumi dev", + "site:develop": "NODE_OPTIONS=--max_old_space_size=8192 dumi dev", "site:preview": "umi preview", "site:start": "npm run site:develop" }, "dependencies": { - "@antv/dumi-theme-antv": "^0.4.3", + "@antv/dumi-theme-antv": "~0.5.0", "@antv/f-react": "~0.0.7", "@antv/f-test-utils": "1.0.3", "@antv/f2": "^5.0.4", diff --git a/site/tsconfig.json b/site/tsconfig.json index 46da9d4fa..9d73a40d0 100644 --- a/site/tsconfig.json +++ b/site/tsconfig.json @@ -3,6 +3,8 @@ "compilerOptions": { "jsx": "react", "jsxFactory": "React.createElement", - "jsxFragmentFactory": "React.Fragment" + "jsxFragmentFactory": "React.Fragment", + "esModuleInterop": true, + "resolveJsonModule": true } }