From bc392115516e62b8db78cd6221f9a84d9040a194 Mon Sep 17 00:00:00 2001 From: xiaoxiao Date: Fri, 21 Jun 2024 14:13:08 +0800 Subject: [PATCH] feat: support react19 and mako build --- .dumirc.ts | 3 ++- package.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index ebd40b0d..f5812b0e 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -2,6 +2,7 @@ import { defineConfig } from 'dumi'; export default defineConfig({ + mako: {}, themeConfig: { name: 'rc-menu', logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4', @@ -13,7 +14,7 @@ export default defineConfig({ ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'], outputPath: '.doc', exportStatic: {}, - mfsu: {}, + mfsu: false, styles: [ ` .markdown table { diff --git a/package.json b/package.json index db34a0f2..ea19ad74 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@types/react-dom": "^18.2.6", "@types/warning": "^3.0.0", "cross-env": "^7.0.0", - "dumi": "^2.1.17", + "dumi": "2.4.0-alpha.16", "eslint": "^8.55.0", "eslint-plugin-jest": "^27.6.0", "eslint-plugin-unicorn": "^51.0.1", @@ -68,8 +68,8 @@ "less": "^4.1.3", "np": "^10.0.5", "rc-test": "^7.0.14", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0-rc-e684ca66ab-20240619", + "react-dom": "^19.0.0-rc-e684ca66ab-20240619", "regenerator-runtime": "^0.14.0", "typescript": "^5.1.6" },